chore: linter: dupword

Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
Jakob Borg
2025-10-23 22:48:54 +02:00
parent a1069a0d70
commit d97fd638bc
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ func CreateAtomic(path string) (*AtomicWriter, error) {
func CreateAtomicFilesystem(filesystem fs.Filesystem, path string) (*AtomicWriter, error) {
// The security of this depends on the tempfile having secure
// permissions, 0600, from the beginning. This is what os.CreateTemp
// does. We have a test that verifies that that is the case, should this
// does. We have a test that verifies that this is the case, should this
// ever change in the standard library in the future.
fd, err := TempFile(filesystem, filepath.Dir(path), TempPrefix)
if err != nil {