Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: fix Chromium clean script (#13330)

Andrey Lushnikov1e4581132052
diff --git a/browser_patches/chromium/clean.sh b/browser_patches/chromium/clean.sh
index 70c8412be5..e03c7df33b 100755
--- a/browser_patches/chromium/clean.sh
+++ b/browser_patches/chromium/clean.sh
@@ -10,6 +10,6 @@ if [[ -z "${CR_CHECKOUT_PATH}" ]]; then
CR_CHECKOUT_PATH="$HOME/chromium"
fi
-if [[ ! -d "${CR_CHECKOUT_PATH}/src" ]]; then
+if [[ -d "${CR_CHECKOUT_PATH}/src" ]]; then
rm -rf "${CR_CHECKOUT_PATH}/src/out"
fi