MCPcopy Create free account
hub / github.com/webpack/webpack-cli / normalizeCwd

Function normalizeCwd

test/utils/test-utils.js:243–246  ·  view source on GitHub ↗
(output)

Source from the content-addressed store, hash-verified

241 );
242
243const normalizeCwd = (output) =>
244 output
245 .replaceAll("\\", "/")
246 .replaceAll(new RegExp(process.cwd().replaceAll("\\", "/"), "g"), "<cwd>");
247
248const normalizeError = (output) =>
249 output

Callers 2

normalizeStdoutFunction · 0.85
normalizeStderrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected