From 4b7fd76356984e97c73cadd8f4b9a3356b33af8f Mon Sep 17 00:00:00 2001
From: Petr Benes <petr.benes@gooddata.com>
Date: Mon, 2 Dec 2024 16:38:48 +0100
Subject: [PATCH] fix: correct script call after PUSHD in previous step

risk: low
JIRA: STL-935
---
 common/scripts/ci/run_cypress_recording.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/scripts/ci/run_cypress_recording.sh b/common/scripts/ci/run_cypress_recording.sh
index c823a0d04a7..d61ae067c10 100755
--- a/common/scripts/ci/run_cypress_recording.sh
+++ b/common/scripts/ci/run_cypress_recording.sh
@@ -81,5 +81,5 @@ echo "⭐️ 7/8 delete reference workspace on the host"
 if [[ $RUN_ON_GH != "true" ]]; then
     $_RUSHX libs/sdk-ui-tests-e2e delete-ref-workspace
 else
-    (cd libs/sdk-ui-tests-e2e && node ../../common/scripts/install-run-rushx.js delete-ref-workspace)
+    node ../../common/scripts/install-run-rushx.js delete-ref-workspace
 fi