mirror of https://github.com/webpack/webpack.git
				
				
				
			Merge pull request #10251 from peteychuk/patch-1
Minor fix: redundant default parameters
This commit is contained in:
		
						commit
						54bb9428e9
					
				| 
						 | 
				
			
			@ -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