Completely updated React, fixed #11, (hopefully)
This commit is contained in:
6
goTorrentWebUI/node_modules/webpack/lib/Stats.js
generated
vendored
6
goTorrentWebUI/node_modules/webpack/lib/Stats.js
generated
vendored
@@ -50,11 +50,13 @@ class Stats {
|
||||
}
|
||||
|
||||
hasWarnings() {
|
||||
return this.compilation.warnings.length > 0;
|
||||
return this.compilation.warnings.length > 0 ||
|
||||
this.compilation.children.some(child => child.getStats().hasWarnings());
|
||||
}
|
||||
|
||||
hasErrors() {
|
||||
return this.compilation.errors.length > 0;
|
||||
return this.compilation.errors.length > 0 ||
|
||||
this.compilation.children.some(child => child.getStats().hasErrors());
|
||||
}
|
||||
|
||||
// remove a prefixed "!" that can be specified to reverse sort order
|
||||
|
Reference in New Issue
Block a user