From a7fa91764abbd97a1f5eb525e8d3cdb608546798 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 18 Aug 2021 16:21:35 +0200 Subject: Update dependencies Using go get -u go mod tidy --- internal/fusefrontend_reverse/excluder.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'internal') 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. -- cgit v1.2.3