MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / _canUpgrade

Method _canUpgrade

tests/helpers/package-cache.js:555–557  ·  view source on GitHub ↗
(label, type)

Source from the content-addressed store, hash-verified

553 }
554
555 _canUpgrade(label, type) {
556 return type === 'yarn' && fs.existsSync(path.join(this.dirs[label], 'yarn.lock'));
557 }
558
559 // PUBLIC API BELOW
560

Callers 1

_upgradeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected