From 14b18754dff671ec4b0df6aec8f776f86a2f7e87 Mon Sep 17 00:00:00 2001 From: Mohammad Fares Date: Mon, 1 Oct 2018 12:26:19 +0300 Subject: [PATCH] Use copySync instead of copy in the config command --- commands/config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/commands/config.js b/commands/config.js index cab5e5a..b745715 100644 --- a/commands/config.js +++ b/commands/config.js @@ -26,7 +26,10 @@ function done() { */ 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(); }