mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-25 06:22:24 +02:00
Better reset the local state to attempt to fix a github action failure
This commit is contained in:
parent
e485dfdaf6
commit
ddc9dc1080
@ -29,6 +29,7 @@ func ResetLocalState(t *testing.T) {
|
|||||||
t.Fatalf("failed to retrieve homedir: %v", err)
|
t.Fatalf("failed to retrieve homedir: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_ = BackupAndRestoreWithId(t, "-reset-local-state")
|
||||||
_ = os.RemoveAll(path.Join(homedir, data.HISHTORY_PATH))
|
_ = os.RemoveAll(path.Join(homedir, data.HISHTORY_PATH))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user