update error message
This commit is contained in:
parent
3d552ba624
commit
6230b36dc2
3 changed files with 3 additions and 3 deletions
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.");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -581,7 +581,7 @@ async function loadConfig(configFile: string): Promise<Config> {
|
|||
// 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.");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue