Fix incorrect variable reference that lead to failures on github actions

This commit is contained in:
David Dworken 2022-09-18 18:34:27 -07:00
parent 1bf510ff8a
commit 0792a5665c

View File

@ -83,7 +83,7 @@ func BackupAndRestoreWithId(t *testing.T, id string) func() {
func touchFile(p string) {
_, err := os.Stat(p)
if os.IsNotExist(err) {
file, err := os.Create("temp.txt")
file, err := os.Create(p)
checkError(err)
defer file.Close()
} else {