Skip to content

Commit d89595b

Browse files
cironunesrodyhaddad
authored andcommitted
chore(new command): ember -> ng
Closes #27
1 parent a4ce19e commit d89595b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

addon/ng2/commands/new.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ module.exports = NewCommand.extend({
2828
commandOptions.name = rawArgs.shift();
2929

3030
if (!packageName) {
31-
message = chalk.yellow('The `ember ' + this.name + '` command requires a ' +
32-
'name to be specified. For more details, use `ember help`.');
31+
message = chalk.yellow('The `ng ' + this.name + '` command requires a ' +
32+
'name to be specified. For more details, use `ng help`.');
3333

3434
return Promise.reject(new SilentError(message));
3535
}
@@ -39,7 +39,7 @@ module.exports = NewCommand.extend({
3939
}
4040

4141
if (packageName === '.') {
42-
message = 'Trying to generate an application structure in this directory? Use `ember init` instead.';
42+
message = 'Trying to generate an application structure in this directory? Use `ng init` instead.';
4343

4444
return Promise.reject(new SilentError(message));
4545
}

0 commit comments

Comments
 (0)