MCPcopy Create free account
hub / github.com/npm/cli / exit

Method exit

lib/cli/exit-handler.js:48–50  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

46 }
47
48 exit (err) {
49 this.#handleExit(err)
50 }
51
52 #handleProcessExitAndReset = (code) => {
53 this.#handleProcessExit(code)

Callers 10

mockExitHandlerFunction · 0.95
entry.jsFile · 0.45
syntaxErrorHandlerFunction · 0.45
ExitHandlerClass · 0.45
usageFunction · 0.45
index.jsFile · 0.45
enforce-clean.jsFile · 0.45
fish-completion.jsFile · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected