MCPcopy Index your code
hub / github.com/vercel/hyper / runCommand

Method runCommand

bin/yarn-standalone.js:102914–102922  ·  view source on GitHub ↗
(spinner, pkg)

Source from the content-addressed store, hash-verified

102912 }
102913
102914 runCommand(spinner, pkg) {
102915 var _this4 = this;
102916
102917 return (0, (_asyncToGenerator2 || _load_asyncToGenerator()).default)(function* () {
102918 const cmds = _this4.getInstallCommands(pkg);
102919 spinner.setPrefix(++_this4.installed, pkg.name);
102920 yield _this4.install(cmds, pkg, spinner);
102921 })();
102922 }
102923
102924 // detect if there is a circularDependency in the dependency tree
102925 detectCircularDependencies(root, seenManifests, pkg) {

Callers 1

workerMethod · 0.80

Calls 4

_load_asyncToGeneratorFunction · 0.85
getInstallCommandsMethod · 0.80
installMethod · 0.80
setPrefixMethod · 0.45

Tested by

no test coverage detected