You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When patter isn't passed into constructor, plugin tries to report an error: 245 this.errors.push(plugin.errorMessages['no-pattern']);
but, at this point this.errors isn't assigned yet, and will be created only at 248 objectAssign(this, composedPlugin, instance(), opts);
as result, not very clear error is shown:
<redacted>\node_modules\license-webpack-plugin\index.js:245
this.errors.push(plugin.errorMessages['no-pattern']);
^
TypeError: Cannot read property 'push' of undefined
at new licensePlugin (<redacted>\node_modules\license-webpack-plugin\index.js:245:16)```
The text was updated successfully, but these errors were encountered:
When patter isn't passed into constructor, plugin tries to report an error:
245 this.errors.push(plugin.errorMessages['no-pattern']);
but, at this point this.errors isn't assigned yet, and will be created only at
248 objectAssign(this, composedPlugin, instance(), opts);
as result, not very clear error is shown:
The text was updated successfully, but these errors were encountered: