fix(driver): PLAYWRIGHT_NODEJS_PATH test in sh (#16554)
This commit is contained in:
Родитель
57326f9401
Коммит
d133b58a96
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
SCRIPT_PATH="$(cd "$(dirname "$0")" ; pwd -P)"
|
||||
if [[ -z "$PLAYWRIGHT_NODEJS_PATH" ]]; then
|
||||
if [ -z "$PLAYWRIGHT_NODEJS_PATH" ]; then
|
||||
PLAYWRIGHT_NODEJS_PATH="$SCRIPT_PATH/node"
|
||||
fi
|
||||
"$PLAYWRIGHT_NODEJS_PATH" "$SCRIPT_PATH/package/lib/cli/cli.js" "$@"
|
||||
|
|
Загрузка…
Ссылка в новой задаче