Skip to content

Commit 64b0274

Browse files
refactor execa call
1 parent de557c8 commit 64b0274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate-local.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const exit = function exit() {
1616

1717
const runCmd = async (cmd, path) => {
1818
console.log(chalk.underline(`Running '${chalk.green(cmd)}'`))
19-
const executedCmd = await execa.shell(cmd, { cwd: path })
19+
const executedCmd = await execa(cmd, { cwd: path, shell: true })
2020

2121
if (executedCmd.failed) {
2222
console.error(executedCmd.stderr)

0 commit comments

Comments
 (0)