From: Sergey Matveev Date: Sat, 21 Feb 2026 08:39:33 +0000 (+0300) Subject: Fix filename processing bug X-Git-Tag: v1.4.0~2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=46a0696151ccb06c0e032660d30f05b4cdeb4be7;p=meta4ra.git Fix filename processing bug --- 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