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

Function add

test/html5lib.spectest.js:106–109  ·  view source on GitHub ↗
(i, line)

Source from the content-addressed store, hash-verified

104 * @param {string} line message
105 */
106 const add = (i, line) => {
107 if (!internalByEntry.has(i)) internalByEntry.set(i, []);
108 internalByEntry.get(i).push(line);
109 };
110 if (err) {
111 // Compiler-level throw can't be attributed to one entry; mark all.
112 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