MCPcopy
hub / github.com/vercel/hyper / getUpdateInstaller

Function getUpdateInstaller

bin/yarn-standalone.js:6240–6247  ·  view source on GitHub ↗
(installationMethod)

Source from the content-addressed store, hash-verified

6238}
6239
6240function getUpdateInstaller(installationMethod) {
6241 // Windows
6242 if (installationMethod === 'msi') {
6243 return (_constants || _load_constants()).YARN_INSTALLER_MSI;
6244 }
6245
6246 return null;
6247}
6248
6249function normalizeFlags(config, rawFlags) {
6250 const flags = {

Callers 1

_checkUpdateMethod · 0.85

Calls 1

_load_constantsFunction · 0.85

Tested by

no test coverage detected