mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-24 06:21:23 +01:00
Add workaround for testutils searching for the hishtory dir
This commit is contained in:
parent
ae0033fb14
commit
43cc45b80d
@ -165,7 +165,7 @@ func buildServer() {
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("failed to getwd: %v", err))
|
||||
}
|
||||
if strings.HasSuffix(wd, "/hishtory") {
|
||||
if strings.HasSuffix(wd, "/hishtory") || strings.HasSuffix(wd, "/cirrus-ci-build") {
|
||||
break
|
||||
}
|
||||
err = os.Chdir("../")
|
||||
|
Loading…
Reference in New Issue
Block a user