Skip to content

Commit

Permalink
fix(@angular/cli): fix directory issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitarora committed May 30, 2017
1 parent 78d1c77 commit d622469
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@angular/cli/ember-cli/lib/cli/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ CLI.prototype.run = function(environment) {
debug('command: %s', commandName);

if (!this.testing) {
process.chdir(environment.project.root);
// environment.project.rootDir = process.cwd();
// process.chdir(environment.project.root);
var skipInstallationCheck = commandArgs.indexOf('--skip-installation-check') !== -1;
if (environment.project.isEmberCLIProject() && !skipInstallationCheck) {
new InstallationChecker({ project: environment.project }).checkInstallations();
Expand Down

0 comments on commit d622469

Please sign in to comment.