code check 오류 수정
This commit is contained in:
1 parent
06a6875cdb
commit
c6ddf7c485
21 files changed
+83
-36
No files matched your search
@@ -13,6 +13,11 @@ else
|
||||
playwright_install_desc="npx playwright install"
|
||||
fi
|
||||
|
||||
playwright_cache_dir="${HOME}/.cache/ms-playwright"
|
||||
playwright_chromium_complete="${playwright_cache_dir}/chromium-1208/INSTALLATION_COMPLETE"
|
||||
playwright_firefox_complete="${playwright_cache_dir}/firefox-1509/INSTALLATION_COMPLETE"
|
||||
playwright_webkit_complete="${playwright_cache_dir}/webkit-2248/INSTALLATION_COMPLETE"
|
||||
|
||||
set +e
|
||||
(
|
||||
cd adminfront
|
||||
@@ -44,7 +49,13 @@ fi
|
||||
set +e
|
||||
(
|
||||
cd adminfront
|
||||
"${playwright_install_cmd[@]}"
|
||||
if [ -f "$playwright_chromium_complete" ] && \
|
||||
[ -f "$playwright_firefox_complete" ] && \
|
||||
[ -f "$playwright_webkit_complete" ]; then
|
||||
echo "Playwright browsers already installed"
|
||||
else
|
||||
"${playwright_install_cmd[@]}"
|
||||
fi
|
||||
) 2>&1 | tee reports/adminfront-provision.log
|
||||
provision_exit_code=${PIPESTATUS[0]}
|
||||
set -e
|
||||
|
||||
Reference in new issue
Block a user