MCPcopy
hub / github.com/shelljs/shx / init

Function init

test/mocks.js:46–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44};
45
46export const init = () => {
47 resetValues();
48 console.log = consoleLog;
49 console.error = consoleError;
50 process.stdout.write = stdoutWrite;
51 process.exit = processExit;
52};
53
54export const restore = () => {
55 console.log = oldConsoleLog;

Callers

nothing calls this directly

Calls 1

resetValuesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…