mirror of https://github.com/webpack/webpack.git
				
				
				
			Minor fix: redundant default parameters
This commit is contained in:
		
							parent
							
								
									c7a213bd45
								
							
						
					
					
						commit
						c48eaeebf1
					
				|  | @ -115,7 +115,7 @@ class ProgressPlugin { | |||
| 		} | ||||
| 
 | ||||
| 		options = options || {}; | ||||
| 		validateOptions(schema, options || {}, { | ||||
| 		validateOptions(schema, options, { | ||||
| 			name: "Progress Plugin", | ||||
| 			baseDataPath: "options" | ||||
| 		}); | ||||
|  |  | |||
|  | @ -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" | ||||
| 		}); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue