Skip to content

Commit

Permalink
refactor(Config Schema): Do not pass obsolete arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Sep 21, 2020
1 parent e1ca63c commit 9bec422
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/classes/ConfigSchemaHandler/index.js
Expand Up @@ -79,9 +79,7 @@ class ConfigSchemaHandler {

validate(userConfig);
if (validate.errors) {
const messages = normalizeAjvErrors(validate.errors, userConfig, this.schema).map(
err => err.message
);
const messages = normalizeAjvErrors(validate.errors).map(err => err.message);
this.handleErrorMessages(messages);
}
}
Expand Down

0 comments on commit 9bec422

Please sign in to comment.