* Checks whether this stats has warnings. * @returns {boolean} true if the compilation had a warning
()
| 37 | * @returns {boolean} true if the compilation had a warning |
| 38 | */ |
| 39 | hasWarnings() { |
| 40 | return ( |
| 41 | this.compilation.getWarnings().length > 0 || |
| 42 | this.compilation.children.some((child) => child.getStats().hasWarnings()) |
| 43 | ); |
| 44 | } |
| 45 | |
| 46 | /** |
| 47 | * Checks whether this stats has errors. |
no test coverage detected