mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-09 15:15:08 +02:00
Add workaround for testutils searching for the hishtory dir
This commit is contained in:
@ -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("../")
|
||||
|
Reference in New Issue
Block a user