diff options
Diffstat (limited to 'internal/fusefrontend_reverse/excluder.go')
-rw-r--r-- | internal/fusefrontend_reverse/excluder.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/internal/fusefrontend_reverse/excluder.go b/internal/fusefrontend_reverse/excluder.go index 8a13fa7..d5b3319 100644 --- a/internal/fusefrontend_reverse/excluder.go +++ b/internal/fusefrontend_reverse/excluder.go @@ -20,12 +20,7 @@ func prepareExcluder(args fusefrontend.Args) *ignore.GitIgnore { if len(patterns) == 0 { log.Panic(patterns) } - excluder, err := ignore.CompileIgnoreLines(patterns...) - if err != nil { - tlog.Fatal.Printf("Error compiling exclusion rules: %v", err) - os.Exit(exitcodes.ExcludeError) - } - return excluder + return ignore.CompileIgnoreLines(patterns...) } // getExclusionPatters prepares a list of patterns to be excluded. |