Skip to content

Commit

Permalink
refactor: fix golangci
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Nov 19, 2024
1 parent df48b17 commit 67b6585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/check/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func filter(mgr *Manager) (map[string]Rule, error) {

b, err := os.ReadFile(stringOrPath)
if err != nil {
return nil, fmt.Errorf("failed to read filter '%s': %v", stringOrPath, err)
return nil, fmt.Errorf("failed to read filter '%s': %w", stringOrPath, err)
}

filter := string(b)
Expand Down

0 comments on commit 67b6585

Please sign in to comment.