Skip to content

Commit

Permalink
Try removing nolint directive
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasberlin committed Dec 3, 2024
1 parent 5fb082e commit 2ad48d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion file/helper_other.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ func SyncParent(path string) error {
parent := filepath.Dir(path)
f, err := os.Open(parent)

//nolint:nilerr
if err != nil {
return nil

Check failure on line 46 in file/helper_other.go

View workflow job for this annotation

GitHub Actions / lint (darwin)

error is not nil (line 43) but it returns nil (nilerr)
}
Expand Down

0 comments on commit 2ad48d5

Please sign in to comment.