mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 02:54:21 +08:00
chore: remove ember-cli references in comments
This commit is contained in:
parent
b28c098fd0
commit
b9a8ae4d63
6
bin/ng
6
bin/ng
@ -13,14 +13,14 @@ resolve('angular-cli', { basedir: process.cwd() },
|
||||
function (error, projectLocalCli) {
|
||||
var cli;
|
||||
if (error) {
|
||||
// If there is an error, resolve could not find the ember-cli
|
||||
// If there is an error, resolve could not find the ng-cli
|
||||
// library from a package.json. Instead, include it from a relative
|
||||
// path to this script file (which is likely a globally installed
|
||||
// npm package). Most common cause for hitting this is `ember new`
|
||||
// npm package). Most common cause for hitting this is `ng new`
|
||||
cli = require('../lib/cli');
|
||||
} else {
|
||||
// No error implies a projectLocalCli, which will load whatever
|
||||
// version of ember-cli you have installed in a local package.json
|
||||
// version of ng-cli you have installed in a local package.json
|
||||
cli = require(projectLocalCli);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user