Skip to content

Commit

Permalink
add missing return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Brignull committed Jun 1, 2020
1 parent 3c2191f commit 07e22b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/config-utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/config-utils.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/config-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export class Config {
if (queryUses.indexOf('/') === -1 && queryUses.indexOf('@') === -1) {
if (builtinSuites.includes(queryUses as any)) {
this.additionalSuites.push(queryUses as BuiltInSuite);
return;
} else {
throw new Error(getQueryUsesIncorrect(queryUses));
}
Expand Down

0 comments on commit 07e22b1

Please sign in to comment.