Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
markusressel committed Oct 8, 2024
1 parent 58b8bbb commit e673a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/util/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e673a17

Please sign in to comment.