Skip to content

Commit

Permalink
beautify
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Dec 14, 2016
1 parent 3c10863 commit 4e3ef7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/WebpackOptionsValidationError.js
Expand Up @@ -59,8 +59,8 @@ WebpackOptionsValidationError.formatValidationError = function formatValidationE
if(err.children && err.children.length > 0) {
return dataPath + " should be one of these:\n" +
getSchemaPartText(err.parentSchema) + "\nDetails:\n" + err.children.map(function(err) {
return " * " + indent(WebpackOptionsValidationError.formatValidationError(err), " ", false);
}).join("\n")
return " * " + indent(WebpackOptionsValidationError.formatValidationError(err), " ", false);
}).join("\n")
}
return dataPath + " should be one of these:\n" +
getSchemaPartText(err.parentSchema);
Expand Down

0 comments on commit 4e3ef7a

Please sign in to comment.