MCPcopy
hub / github.com/webpack/webpack / reportErrors

Method reportErrors

lib/Compilation.js:5913–5923  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5911 };
5912
5913 const reportErrors = () => {
5914 if (errors.length > 0) {
5915 errors.sort(
5916 compareSelect((err) => err.module, compareModulesByIdentifier)
5917 );
5918 for (const error of errors) {
5919 this.errors.push(error);
5920 }
5921 errors.length = 0;
5922 }
5923 };
5924
5925 // Generate code for all aggregated modules
5926 asyncLib.eachLimit(

Callers

nothing calls this directly

Calls 3

compareSelectFunction · 0.85
sortMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected