Skip to content

Commit 3fef427

Browse files
committed
fix failure in playwright
1 parent 6f24195 commit 3fef427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pit/lib/lib-playwright.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ installPlaywright() {
1818

1919
## Check if playwright is installed, otherwise install it
2020
checkPlaywrightInstallation() {
21-
[ -n "$UPDATE" ] && installPlaywright "$1"
21+
[ -z "$UPDATE" ] || installPlaywright "$1" || return 1
2222
isInstalledPlaywright "$1" && return 0
2323
installPlaywright "$1"
2424
}

0 commit comments

Comments
 (0)