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 || {}; | 		options = options || {}; | ||||||
| 		validateOptions(schema, options || {}, { | 		validateOptions(schema, options, { | ||||||
| 			name: "Progress Plugin", | 			name: "Progress Plugin", | ||||||
| 			baseDataPath: "options" | 			baseDataPath: "options" | ||||||
| 		}); | 		}); | ||||||
|  |  | ||||||
|  | @ -98,7 +98,7 @@ class SourceMapDevToolPlugin { | ||||||
| 	 * @throws {Error} throws error, if got more than 1 arguments | 	 * @throws {Error} throws error, if got more than 1 arguments | ||||||
| 	 */ | 	 */ | ||||||
| 	constructor(options = {}) { | 	constructor(options = {}) { | ||||||
| 		validateOptions(schema, options || {}, { | 		validateOptions(schema, options, { | ||||||
| 			name: "SourceMap DevTool Plugin", | 			name: "SourceMap DevTool Plugin", | ||||||
| 			baseDataPath: "options" | 			baseDataPath: "options" | ||||||
| 		}); | 		}); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue