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

Method execWorkspaces

deps/npm/lib/commands/diff.js:66–73  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

64 }
65
66 async execWorkspaces (args) {
67 await this.setWorkspaces()
68 for (const workspacePath of this.workspacePaths) {
69 this.top = workspacePath
70 this.prefix = workspacePath
71 await this.exec(args)
72 }
73 }
74
75 // get the package name from the packument at `path`
76 // throws if no packument is present OR if it does not have `name` attribute

Callers

nothing calls this directly

Calls 2

execMethod · 0.95
setWorkspacesMethod · 0.80

Tested by

no test coverage detected