From e673a1730759b0f679319c7bebb0923255fb3770 Mon Sep 17 00:00:00 2001 From: Markus Ressel Date: Tue, 8 Oct 2024 19:29:05 +0200 Subject: [PATCH] lint fix --- internal/util/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/util/file.go b/internal/util/file.go index a0d2b13..a5ed68b 100644 --- a/internal/util/file.go +++ b/internal/util/file.go @@ -86,7 +86,7 @@ func WriteIntToFileAtomic(value int, path string) error { } valueAsString := fmt.Sprintf("%d", value) valueReader := strings.NewReader(valueAsString) - return atomic.WriteFile(evaluatedPath, valueReader) + return atomic.WriteFile(path, valueReader) } // FindFilesMatching finds all files in a given directory, matching the given regex