update error message

This commit is contained in:
Robert Brignull
2020-08-05 09:23:51 +01:00
parent 3d552ba624
commit 6230b36dc2
3 changed files with 3 additions and 3 deletions

2
lib/config-utils.js generated
View File

@@ -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.");
}
}