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

Method execWorkspaces

deps/npm/lib/package-url-cmd.js:40–46  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

38 }
39
40 async execWorkspaces (args) {
41 if (args && args.length) {
42 return this.exec(args)
43 }
44 await this.setWorkspaces()
45 return this.exec(this.workspacePaths)
46 }
47
48 // given a manifest, try to get the hosted git info from it based on repository (if a string) or repository.url (if an object)
49 // returns null if it's not a valid repo, or not a known hosted repo

Callers

nothing calls this directly

Calls 2

execMethod · 0.95
setWorkspacesMethod · 0.80

Tested by

no test coverage detected