Minor fix: redundant default parameters

This commit is contained in:
Yaroslav Peteychuk 2020-01-14 14:14:37 +02:00
parent c7a213bd45
commit c48eaeebf1
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ class ProgressPlugin {
}
options = options || {};
validateOptions(schema, options || {}, {
validateOptions(schema, options, {
name: "Progress Plugin",
baseDataPath: "options"
});

View File

@ -98,7 +98,7 @@ class SourceMapDevToolPlugin {
* @throws {Error} throws error, if got more than 1 arguments
*/
constructor(options = {}) {
validateOptions(schema, options || {}, {
validateOptions(schema, options, {
name: "SourceMap DevTool Plugin",
baseDataPath: "options"
});