We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a146011 commit b811e50Copy full SHA for b811e50
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("", "db-")
+ dst, err := ioutil.TempFile(".", "db-")
13
if err != nil {
14
return "", err
15
}
test/e2e/opm_test.go
@@ -43,7 +43,7 @@ var (
43
)
44
45
func inTemporaryBuildContext(f func() error) (rerr error) {
46
- td, err := ioutil.TempDir("", "opm-")
+ td, err := ioutil.TempDir(".", "opm-")
47
48
return err
49
0 commit comments