Skip to content

Commit

Permalink
🚧
Browse files Browse the repository at this point in the history
  • Loading branch information
noyshabtay committed Apr 7, 2024
1 parent 8a9bf5a commit 0e247bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/fileutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0e247bd

Please sign in to comment.