Use copySync instead of copy in the config command

This commit is contained in:
Mohammad Fares 2018-10-01 12:26:19 +03:00
parent ecbaf11ea0
commit 14b18754df
1 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,10 @@ function done() {
*/ */
function command(argv) { function command(argv) {
di.fs.copy(di.path.join(ROOT_PATH, 'config.yml'), 'config.yml', done); // Copy the default config file
di.fs.copySync(di.path.join(ROOT_PATH, 'config.yml'), 'config.yml');
done();
} }