aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-08-18 16:21:35 +0200
committerJakob Unterwurzacher2021-08-18 17:30:01 +0200
commita7fa91764abbd97a1f5eb525e8d3cdb608546798 (patch)
treeae71c962381b316713cc8ac73337eb3ee4afc5c2 /internal
parentbc72e58facf4364884c1d761f5a2b99c6a0f7e79 (diff)
Update dependencies
Using go get -u go mod tidy
Diffstat (limited to 'internal')
-rw-r--r--internal/fusefrontend_reverse/excluder.go7
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.