Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ exit
Method
exit
test/lib/cli/entry.js:16–19 ·
view source on GitHub ↗
(...args)
Source
from the content-addressed store, hash-verified
14
'{LIB}/npm.js'
: Npm,
15
'{LIB}/cli/exit-handler.js'
:
class
MockExitHandler {
16
exit (...args) {
17
exitHandlerArgs = args
18
npm.unload()
19
}
20
21
registerUncaughtHandlers () {}
22
Callers
3
config.js
File · 0.45
edit.js
File · 0.45
exit-handler.js
File · 0.45
Calls
1
unload
Method · 0.80
Tested by
no test coverage detected