Skip to content

Commit 99d53bc

Browse files
author
testcafe-build-bot
committed
🔄 synced local '.github/scripts/security-checker.mjs' with remote 'scripts/security-checker.mjs'
1 parent f142e2f commit 99d53bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎.github/scripts/security-checker.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class SecurityChecker {
4949
return data;
5050
}
5151
catch (e) {
52-
if (e.message.includes('no analysis found'))
52+
if (e.message.includes('no analysis found') || e.message.includes('Advanced Security must be enabled for this repository to use code scanning'))
5353
return [];
5454

5555
throw e;

0 commit comments

Comments
 (0)