Skip to content

Commit df3fade

Browse files
authored
fix(chore): run $EDITOR within a shell (#23)
1 parent 8bfd7ef commit df3fade

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/voteUsingGit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export async function voteAndCommit({
6060
console.log("Ballot is ready for edit.");
6161
await runChildProcessAsync(EDITOR, [
6262
path.join(cwd, subPath, `${handle || username}.yml`),
63-
]);
63+
], { spawnArgs: { shell: true } });
6464
rawBallot = await fs.readFile(
6565
path.join(cwd, subPath, `${handle || username}.yml`)
6666
);

0 commit comments

Comments
 (0)