From c79f6cbce072ab1a798628b7524b9b1a9c63d75c Mon Sep 17 00:00:00 2001 From: Nicholas Berlin Date: Tue, 3 Dec 2024 16:35:04 -0500 Subject: [PATCH] Does this work? --- file/helper_other.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()