mirror of
https://github.com/github/codeql-action.git
synced 2025-12-24 08:10:06 +08:00
update error message
This commit is contained in:
2
lib/config-utils.js
generated
2
lib/config-utils.js
generated
@@ -443,7 +443,7 @@ async function loadConfig(configFile) {
|
||||
// it is a user configuration error.
|
||||
for (const language of languages) {
|
||||
if (queries[language].length === 0) {
|
||||
throw new Error(`Did not detect any queries to analyze for ${language}. ` +
|
||||
throw new Error(`Did not detect any queries to run for ${language}. ` +
|
||||
"Please make sure that the default queries are enabled, or you are specifying queries to run.");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user