MCPcopy Index your code
hub / github.com/nodejs/node / execWorkspaces

Method execWorkspaces

deps/npm/lib/commands/version.js:62–71  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

60 }
61
62 async execWorkspaces (args) {
63 switch (args.length) {
64 case 0:
65 return this.listWorkspaces()
66 case 1:
67 return this.changeWorkspaces(args)
68 default:
69 throw this.usageError()
70 }
71 }
72
73 async change (args) {
74 const libnpmversion = require('libnpmversion')

Callers

nothing calls this directly

Calls 3

listWorkspacesMethod · 0.95
changeWorkspacesMethod · 0.95
usageErrorMethod · 0.80

Tested by

no test coverage detected