Skip to content

Commit

Permalink
🔄 synced local '.github/scripts/security-checker.mjs' with remote 'sc…
Browse files Browse the repository at this point in the history
…ripts/security-checker.mjs'
  • Loading branch information
testcafe-build-bot committed Jan 8, 2024
1 parent f40d3d3 commit 8c20ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/security-checker.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8c20ac5

Please sign in to comment.