Use copySync instead of copy in the config command
This commit is contained in:
parent
ecbaf11ea0
commit
14b18754df
|
@ -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();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue