From ab49c71c233dffc9da94e9ddf269344fe5e0e320 Mon Sep 17 00:00:00 2001 From: noys Date: Sun, 7 Apr 2024 16:04:10 +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 b21cc9be..61d766ac 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 {