From 5fc81c8936e2663a7f7c04ab846a287c7d0d8365 Mon Sep 17 00:00:00 2001 From: Nicholas Berlin Date: Tue, 3 Dec 2024 16:33:25 -0500 Subject: [PATCH] Try a new style of directive --- file/helper_other.go | 1 + 1 file changed, 1 insertion(+) diff --git a/file/helper_other.go b/file/helper_other.go index eacfbec..8b26168 100644 --- a/file/helper_other.go +++ b/file/helper_other.go @@ -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 }