MCPcopy
hub / github.com/webpack/webpack / installYarnAsync

Function installYarnAsync

setup/setup.js:82–84  ·  view source on GitHub ↗

* @returns {Promise<void>} result

()

Source from the content-addressed store, hash-verified

80 * @returns {Promise<void>} result
81 */
82function installYarnAsync() {
83 return exec("npm", ["install", "-g", "yarn"], "Install yarn");
84}
85
86/**
87 * @param {string} command command

Callers 1

ensureYarnInstalledAsyncFunction · 0.85

Calls 1

execFunction · 0.70

Tested by

no test coverage detected