mirror of
https://github.com/ddworken/hishtory.git
synced 2025-01-11 16:58:47 +01:00
Fix incorrect variable reference that lead to failures on github actions
This commit is contained in:
parent
1bf510ff8a
commit
0792a5665c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user