Skip to content

Commit

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

//lint:ignore nilerr failing open is ok
if err != nil {
return nil

Check failure on line 47 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 5fc81c8

Please sign in to comment.