cmd/check.go | 2 +- internal/common.go | 2 +- diff --git a/cmd/check.go b/cmd/check.go index b3124ff4d9328cdd7356cdbc47f412498ca8bee4e123e58c5534d98d9a16867b..288afcb49986b2e7bf9c2ef046d38a948fed24fe65d7a07de2d009cfaca9b53a 100644 --- a/cmd/check.go +++ b/cmd/check.go @@ -85,7 +85,7 @@ bad := false 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 683d28ebbdde647e08892f909053c7005de6f234150d0b77a4041041e51640ea..cd9141aa3832d2ff15f1938dfd74025cd3a8201978c9758265aa21db43fab91c 100644 --- a/internal/common.go +++ b/internal/common.go @@ -21,7 +21,7 @@ "runtime" ) const ( - Generator = "meta4ra/1.3.0" + Generator = "meta4ra/1.4.0" SigMediaTypePGP = "application/pgp-signature" SigMediaTypeSSH = "application/ssh-signature" BufLen = 1 << 20