We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d42dcfa commit b080d08Copy full SHA for b080d08
pkg/lib/tmp/copy.go
@@ -9,7 +9,7 @@ import (
9
10
// CopyTmpDB reads the file at the given path and copies it to a tmp directory, returning the copied file path or an err
11
func CopyTmpDB(original string) (path string, err error) {
12
- dst, err := ioutil.TempFile("/tmp", "db-")
+ dst, err := ioutil.TempFile("", "db-")
13
if err != nil {
14
return "", err
15
}
0 commit comments