Skip to content

Commit

Permalink
fix: fix exception on "au new" when running directly in root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp committed Oct 6, 2018
1 parent c91fb3e commit 8037eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function determineWorkingDirectory(dir) {
let parent = path.join(dir, '..');

if (parent === dir) {
return;
return Promise.resolve(); // resolve to nothing
}

return fs.stat(path.join(dir, 'aurelia_project'))
Expand Down

0 comments on commit 8037eef

Please sign in to comment.