From 16c69dfd61bf76c0593bac194c7a5b33cdfdb4a6 Mon Sep 17 00:00:00 2001 From: Devonte Date: Sat, 11 Aug 2018 07:51:16 +0100 Subject: [PATCH] Fixes to work with Fish Shell --- lib/commands/commit.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/commands/commit.js b/lib/commands/commit.js index aa3793d..05e9bdd 100644 --- a/lib/commands/commit.js +++ b/lib/commands/commit.js @@ -50,15 +50,15 @@ module.exports = { return runCommand('cp -R dist/* .', execOptions); } else { return runCommand('rm -r ' + options.destination + - ' && mkdir ' + options.destination + - ' && cp -R dist/* ' + options.destination + '/', + '; mkdir ' + options.destination + + '; cp -R dist/* ' + options.destination + '/', execOptions); } } function addAndCommit() { return runCommand('git -c core.safecrlf=false add "' + options.destination + '"' + - ' && git commit -m "' + options.message + '"', + '; git commit -m "' + options.message + '"', execOptions); }