Permalink
Browse files

fix: fix exception on "au new" when running directly in root directory

  • Loading branch information...
huochunpeng committed Oct 6, 2018
1 parent c91fb3e commit 8037eefd81812d470e15f1e6a752749679249d7e
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cli.js
View
@@ -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'))

0 comments on commit 8037eef

Please sign in to comment.