From 46a0696151ccb06c0e032660d30f05b4cdeb4be7 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 21 Feb 2026 11:39:33 +0300 Subject: [PATCH] Fix filename processing bug --- cmd/check.go | 2 +- internal/common.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/check.go b/cmd/check.go index 8e95b9c..7f83a6d 100644 --- a/cmd/check.go +++ b/cmd/check.go @@ -85,7 +85,7 @@ format, then you can just specify an empty ("") FILE. for _, f := range meta.Files { fullPath := toCheck[f.Name] delete(toCheck, f.Name) - if !(len(toCheck) == 0 || fullPath != "") { + if !(flag.NArg() == 1 || fullPath != "") { continue } if fullPath == "" { diff --git a/internal/common.go b/internal/common.go index afe18e1..8c47706 100644 --- a/internal/common.go +++ b/internal/common.go @@ -21,7 +21,7 @@ import ( ) const ( - Generator = "meta4ra/1.3.0" + Generator = "meta4ra/1.4.0" SigMediaTypePGP = "application/pgp-signature" SigMediaTypeSSH = "application/ssh-signature" BufLen = 1 << 20 -- 2.52.0