Skip to content

Commit

Permalink
Does this work?
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasberlin committed Dec 3, 2024
1 parent 5fc81c8 commit c79f6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file/helper_other.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ func SyncParent(path string) error {
parent := filepath.Dir(path)
f, err := os.Open(parent)

//lint:ignore nilerr failing open is ok
if err != nil {
//lint:ignore nilerr failing open is ok
return nil
}
defer f.Close()
Expand Down

0 comments on commit c79f6cb

Please sign in to comment.