From 413e2e438f3ac4233645242f464f2a1cd73bd46e Mon Sep 17 00:00:00 2001 From: David Dworken Date: Mon, 13 Feb 2023 20:49:41 -0800 Subject: [PATCH] Fix github actions golden paths --- shared/testutils/testutils.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shared/testutils/testutils.go b/shared/testutils/testutils.go index 1497e99..1b555a5 100644 --- a/shared/testutils/testutils.go +++ b/shared/testutils/testutils.go @@ -39,7 +39,11 @@ func getInitialWd() string { return cwd } components := strings.Split(cwd, "/hishtory/") - return components[0] + "/hishtory" + dir := components[0] + "/hishtory" + if IsGithubAction() { + dir += "/hishtory" + } + return dir } func ResetLocalState(t *testing.T) {