From 0e247bdd56eec094c557deab7c2c7e9aa9f476e8 Mon Sep 17 00:00:00 2001 From: noys Date: Sun, 7 Apr 2024 15:47:19 +0300 Subject: [PATCH] :construction: --- utils/fileutils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/fileutils.go b/utils/fileutils.go index 804f846e..b21cc9be 100644 --- a/utils/fileutils.go +++ b/utils/fileutils.go @@ -273,7 +273,7 @@ func GetFileContentAndInfo(filePath string) (fileContent []byte, fileInfo os.Fil func CreateTempDir() (string, error) { tempDirBase := os.TempDir() timestamp := strconv.FormatInt(time.Now().Unix(), 10) - return os.MkdirTemp(tempDirBase, tempDirPrefix+timestamp+"*") + return os.MkdirTemp(tempDirBase, tempDirPrefix+timestamp+"-") } func RemoveTempDir(dirPath string) error {