Fix unintentional data loss when zip is false and keep greater than or one (#399)

This commit is contained in:
Jan Loewe
2026-06-02 21:00:20 +02:00
committed by GitHub
parent 5d3622e30f
commit ee95e89de5
+1
View File
@@ -283,6 +283,7 @@ func Locally(repo types.Repo, l types.Local, dry bool) bool {
sub.Warn().
Str("repo", repo.Name).
Msgf("couldn't parse timestamp! %s", types.Red(file.Name()))
continue
}
if l.Zip && !strings.HasSuffix(file.Name(), ".zip") {
continue