Skip to content

Commit

Permalink
feat(new): show name of created project in output (angular#3795)
Browse files Browse the repository at this point in the history
  • Loading branch information
mham authored and MRHarrison committed Feb 9, 2017
1 parent 29ae7be commit 0196227
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/angular-cli/commands/init.run.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import * as chalk from 'chalk';
import LinkCli from '../tasks/link-cli';
import NpmInstall from '../tasks/npm-install';

Expand Down Expand Up @@ -91,7 +92,7 @@ export default function initRun(commandOptions: any, rawArgs: string[]) {
if (commandOptions.skipGit === false) {
return gitInit.run(commandOptions, rawArgs);
}
}.bind(this))
})
.then(function () {
if (!commandOptions.skipNpm) {
return npmInstall.run();
Expand All @@ -101,5 +102,8 @@ export default function initRun(commandOptions: any, rawArgs: string[]) {
if (commandOptions.linkCli) {
return linkCli.run();
}
})
.then(() => {
this.ui.writeLine(chalk.green(`Project '${packageName}' successfully created.`));
});
}

0 comments on commit 0196227

Please sign in to comment.