Skip to content

Commit 07e22b1

Browse files
add missing return statement
1 parent 3c2191f commit 07e22b1

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

lib/config-utils.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config-utils.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/config-utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export class Config {
6565
if (queryUses.indexOf('/') === -1 && queryUses.indexOf('@') === -1) {
6666
if (builtinSuites.includes(queryUses as any)) {
6767
this.additionalSuites.push(queryUses as BuiltInSuite);
68+
return;
6869
} else {
6970
throw new Error(getQueryUsesIncorrect(queryUses));
7071
}

0 commit comments

Comments
 (0)