Skip to content

Commit 4aff413

Browse files
committed
shellcheck
1 parent 67c70b1 commit 4aff413

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/remote_playwright.sh

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ main() {
1616
# necessary because Playwright uses their own protocol for communicating
1717
# between the server and client, and the protocol changes between versions.
1818
echo "Checking Playwright version from \"${workspace}\"..."
19+
# shellcheck disable=SC2029 # This is intended to expand client-side.
1920
playwright_version="$(ssh "coder.${workspace}" "cat '${coder_repo}'/site/pnpm-lock.yaml | grep '^ /@playwright/test@' | cut -d '@' -f 3 | tr -d ':'")"
2021

2122
echo "Found Playwright version ${playwright_version}..."
@@ -75,6 +76,7 @@ main() {
7576

7677
echo
7778
echo "Starting SSH tunnel, run test via \"pnpm run playwright:test\"..."
79+
# shellcheck disable=SC2029 # This is intended to expand client-side.
7880
ssh -t -R "${ws_port}:127.0.0.1:${ws_port}" -L "${port}:127.0.0.1:${port}" coder."${workspace}" "export CODER_E2E_PORT='${port}'; export CODER_E2E_WS_ENDPOINT='${ws_endpoint}'; [[ -d '${coder_repo}/site' ]] && cd '${coder_repo}/site'; exec \"\$(grep \"\${USER}\": /etc/passwd | cut -d: -f7)\" -i -l"
7981
}
8082

0 commit comments

Comments
 (0)