From 278db2f1421485fac3737f449f545120caed8cac Mon Sep 17 00:00:00 2001 From: testcafe-build-bot Date: Mon, 8 Jan 2024 10:37:12 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/script?= =?UTF-8?q?s/security-checker.mjs'=20with=20remote=20'scripts/security-che?= =?UTF-8?q?cker.mjs'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/scripts/security-checker.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/security-checker.mjs b/.github/scripts/security-checker.mjs index ae345c6..814d42a 100644 --- a/.github/scripts/security-checker.mjs +++ b/.github/scripts/security-checker.mjs @@ -49,7 +49,7 @@ class SecurityChecker { return data; } catch (e) { - if (e.message.includes('no analysis found')) + if (e.message.includes('no analysis found') || e.message.includes('Advanced Security must be enabled for this repository to use code scanning')) return []; throw e;