From b50cb74b0cbdf9df77a4afd79c993e5ec4900772 Mon Sep 17 00:00:00 2001 From: younglim Date: Wed, 15 Mar 2023 00:58:25 +0800 Subject: [PATCH] Set maxdepth in find app binaries in Playwright --- scripts/hats_shell.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/hats_shell.sh b/scripts/hats_shell.sh index caf52a50..77ecc79b 100644 --- a/scripts/hats_shell.sh +++ b/scripts/hats_shell.sh @@ -45,7 +45,7 @@ echo "INFO: Path to node: $PATH_TO_NODE" echo "INFO: Removing com.apple.quarantine attributes for required binaries to run" find ./**/ImageMagick*/bin -exec xattr -d com.apple.quarantine {} \;&>/dev/null find ./**/ImageMagick*/lib/*.dylib -exec xattr -d com.apple.quarantine {} \;&>/dev/null -find ./**/ms-playwright/**/** -maxdepth 0 -name "*.app" -exec xattr -d com.apple.quarantine {} \;&>/dev/null +find ./**/ms-playwright/**/** -maxdepth 1 -name "*.app" -exec xattr -d com.apple.quarantine {} \;&>/dev/null xattr -d com.apple.quarantine $PATH_TO_NODE/node &>/dev/null export PUPPETEER_SKIP_DOWNLOAD='true'