MCPcopy
hub / github.com/webpack/webpack / add

Function add

test/cssParsing-webpack.spectest.js:91–94  ·  view source on GitHub ↗
(i, line)

Source from the content-addressed store, hash-verified

89 * @param {string} line message
90 */
91 const add = (i, line) => {
92 if (!internalByEntry.has(i)) internalByEntry.set(i, []);
93 internalByEntry.get(i).push(line);
94 };
95 if (err) {
96 // Compiler-level throw can't be attributed to one entry; mark all.
97 const line = String(err.message).split("\n")[0].slice(0, 160);

Callers 1

buildBatchFunction · 0.70

Calls 4

hasMethod · 0.45
setMethod · 0.45
pushMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected