mirror of
https://git.mills.io/prologic/zs.git
synced 2024-11-16 17:35:37 -05:00
Fix tests
This commit is contained in:
parent
22907ea0ff
commit
2bbe9caa0b
2
main.go
2
main.go
@ -607,7 +607,7 @@ func init() {
|
|||||||
func ParseIgnoreFile(fn string) *ignore.GitIgnore {
|
func ParseIgnoreFile(fn string) *ignore.GitIgnore {
|
||||||
obj, err := ignore.CompileIgnoreFile(ZSIGNORE)
|
obj, err := ignore.CompileIgnoreFile(ZSIGNORE)
|
||||||
if err != nil {
|
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)
|
return ignore.CompileIgnoreLines(DefaultIgnore)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user