Skip to content

Commit

Permalink
Make execa use compatible with volta
Browse files Browse the repository at this point in the history
  • Loading branch information
hjdivad committed Jan 25, 2020
1 parent 3f11c50 commit 2955e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ function cleanProject() {
function execWithLog(command, proxyIO = false) {
debug(chalk.cyan('Executing: ') + chalk.yellow(command));
if (proxyIO) {
return execa.sync(command, { stdio: [0, 1, 2], shell: true });
return execa.sync(command, { stdio: [0, 1, 2], shell: true, preferLocal: true });
}

return execa.sync(command, { shell: true }).stdout;
return execa.sync(command, { shell: true, preferLocal: true }).stdout;
}

function getConfig() {
Expand Down

0 comments on commit 2955e2c

Please sign in to comment.