Merge pull request #10251 from peteychuk/patch-1

Minor fix: redundant default parameters
This commit is contained in:
Tobias Koppers 2020-01-14 21:15:23 +01:00 committed by GitHub
commit 54bb9428e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"
});