diff --git a/internal/ignore/ignore.go b/internal/ignore/ignore.go index 1e533b03d..df8a4239e 100644 --- a/internal/ignore/ignore.go +++ b/internal/ignore/ignore.go @@ -214,7 +214,7 @@ func parseIgnoreFile(fd io.Reader, currentFile string, seen map[string]bool) (*M } } if err != nil { - return nil, err + return &exps, err } }