Skip to content

Commit

Permalink
fix(core): path to app dir is now correct
Browse files Browse the repository at this point in the history
  • Loading branch information
exreplay committed Jun 10, 2019
1 parent 7db94bf commit 036a837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default class Core {
try {
console.log('Root directory does not exist. Setting it up...');

const appDir = path.resolve('./app/');
const appDir = path.resolve(require.resolve('@averjs/core'), '../app');

fs.copySync(path.resolve(appDir, './src'), process.env.PROJECT_PATH, { recursive: true });

Expand Down

0 comments on commit 036a837

Please sign in to comment.