Fix tests

This commit is contained in:
James Mills 2023-03-18 13:26:16 +10:00
parent 22907ea0ff
commit 2bbe9caa0b
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6

View File

@ -607,7 +607,7 @@ func init() {
func ParseIgnoreFile(fn string) *ignore.GitIgnore {
obj, err := ignore.CompileIgnoreFile(ZSIGNORE)
if err != nil {
log.WithError(err).Warnf("error parsing .zsignore: % (using defaults)s", fn)
log.WithError(err).Warnf("error parsing .zsignore: %s (using defaults)s", fn)
return ignore.CompileIgnoreLines(DefaultIgnore)
}