Merge pull request #2804 from andreypopp/fix/2803

Fix compilation not to store dependency warnings in modules
This commit is contained in:
Tobias Koppers 2016-07-27 08:00:17 +02:00 committed by GitHub
commit cca2cee859
1 changed files with 0 additions and 1 deletions

View File

@ -635,7 +635,6 @@ Compilation.prototype.reportDependencyWarnings = function reportDependencyWarnin
if(warnings) {
warnings.forEach(function(w) {
var warning = new ModuleDependencyWarning(module, w, d.loc);
module.warnings.push(warning);
_this.warnings.push(warning);
});
}