MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / uninstall

Function uninstall

lib/models/blueprint.js:614–629  ·  view source on GitHub ↗

@method uninstall @param {Object} options @return {Promise}

(options)

Source from the content-addressed store, hash-verified

612 @return {Promise}
613 */
614 uninstall(options) {
615 this._processOptions(options);
616
617 this.hasPathToken = hasPathToken(this.files(this.options));
618
619 this.ui.writeLine(`uninstalling ${this.name}`);
620
621 if (this.dryRun) {
622 this.ui.writeLine(chalk.yellow('You specified the `dry-run` flag, so no files will be deleted.'));
623 }
624
625 this._normalizeEntityName(options.entity);
626 this._checkForPod(options.verbose);
627
628 return this._process(options, this.beforeUninstall, this.processFilesForUninstall, this.afterUninstall);
629 },
630
631 /**
632 Hook for running operations before install.

Callers

nothing calls this directly

Calls 1

hasPathTokenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…