mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Make isEnablementError case-insensitive
This commit is contained in:
6
lib/setup-codeql-action.js
generated
6
lib/setup-codeql-action.js
generated
@@ -79275,9 +79275,9 @@ async function getAnalysisKey() {
|
||||
}
|
||||
function isEnablementError(msg) {
|
||||
return [
|
||||
/Code Security must be enabled/,
|
||||
/Advanced Security must be enabled/,
|
||||
/Code Scanning is not enabled/
|
||||
/Code Security must be enabled/i,
|
||||
/Advanced Security must be enabled/i,
|
||||
/Code Scanning is not enabled/i
|
||||
].some((pattern) => pattern.test(msg));
|
||||
}
|
||||
function getFeatureEnablementError(message) {
|
||||
|
||||
Reference in New Issue
Block a user