diff --git a/file/helper_other.go b/file/helper_other.go index 8b26168..c5586c0 100644 --- a/file/helper_other.go +++ b/file/helper_other.go @@ -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()