Skip to content
Snippets Groups Projects
Commit 9312b9fd authored by Cheng Shao's avatar Cheng Shao
Browse files

setup.sh: fix playwright logic on macos with ancient bash

parent 694c0118
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ tar xJf nodejs.tar.xz -C "$PREFIX/nodejs" --no-same-owner --strip-components=1
puppeteer-core@^24.7.2 \
ws@^8.18.1 \
playwright@^1.52.0
if [[ -v PLAYWRIGHT ]]; then
if [[ -n "${PLAYWRIGHT:-}" ]]; then
PATH=$PREFIX/nodejs/bin:$PATH playwright install --with-deps
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment