Skip to content

Commit 169924d

Browse files
author
Charlike Mike Reagent
committed
fix(cli): use execa.shell
1 parent 5b00e9f commit 169924d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cli.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ app
4646
.then((answers) => {
4747
const answer = answers.reduce((acc, x) => Object.assign({}, acc, x), {});
4848
const args = gitcommit(answer);
49+
const command = ['git commit'].concat(args).join(' ');
4950

50-
return execa('git', ['commit'].concat(args));
51+
return execa.shell(command);
5152
}, onerror)
5253
.catch(onerror);

0 commit comments

Comments
 (0)