We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 691e6cb commit 4883e84Copy full SHA for 4883e84
src/core.ts
@@ -75,16 +75,14 @@ export const defaults: Options = {
75
}
76
77
try {
78
+ defaults.shell = which.sync('bash')
79
+ defaults.prefix = 'set -euo pipefail;'
80
+ defaults.quote = quote
81
+} catch (err) {
82
if (process.platform == 'win32') {
83
defaults.shell = which.sync('powershell.exe')
84
defaults.quote = quotePowerShell
- } else {
- defaults.shell = which.sync('bash')
- defaults.prefix = 'set -euo pipefail;'
- defaults.quote = quote
85
86
-} catch (err) {
87
- // ¯\_(ツ)_/¯
88
89
90
function getStore() {
0 commit comments