From c3974c3d754dff40dc206d523ec348ac596dc470 Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Wed, 25 Sep 2024 11:24:29 +0800 Subject: [PATCH] update Signed-off-by: Patrick Zheng --- internal/file/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/file/file.go b/internal/file/file.go index 97990166..974dabc2 100644 --- a/internal/file/file.go +++ b/internal/file/file.go @@ -117,7 +117,7 @@ func TrimFileExtension(fileName string) string { return strings.TrimSuffix(fileName, filepath.Ext(fileName)) } -// WriteFile writes content to a temporary file and move it to path with all +// WriteFile writes content to a temporary file and moves it to path with all // parent directories created. // If path already exists and is a file, WriteFile overwrites it. func WriteFile(path string, content []byte) (writeErr error) {