Skip to content

Commit

Permalink
chore: build
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed May 13, 2024
1 parent aba27af commit aa1dfa7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -468,11 +468,7 @@ class StackCLI {
return stdout;
}
async exec(args, options) {
var cmd = "";
if (process.platform === "win32") {
cmd += "cmd /c chcp 65001>nul && ";
}
return await exec.exec(`${cmd}stack`, this.globalArgs.concat(args), options);
return await exec.exec("bash", ["-c", "stack"].concat(this.globalArgs).concat(args), options);
}
}
exports.StackCLI = StackCLI;
Expand Down

0 comments on commit aa1dfa7

Please sign in to comment.