Skip to content

Commit a1353b0

Browse files
committed
chore: override zurk quote
1 parent ef81041 commit a1353b0

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,6 @@
100100
"author": "Anton Medvedev <anton@medv.io>",
101101
"license": "Apache-2.0",
102102
"dependencies": {
103-
"zurk": "^0.0.4"
103+
"zurk": "^0.0.6"
104104
}
105105
}

src/core.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,13 @@ export class ProcessPromise extends Promise<ProcessOutput> {
196196
this._zurk = zurk$({
197197
cmd: $.prefix + this._command,
198198
get cwd() { return $.cwd ?? $[processCwd] },
199-
get shell() { return typeof $.shell === 'string' ? $.shell : true },
199+
get shell() {
200+
console.log('!!!shell=', $.shell)
201+
return typeof $.shell === 'string' ? $.shell : true
202+
},
200203
get env() { return $.env },
201204
get spawn() { return $.spawn },
205+
quote: <T>(v: T): T => v, // let zx handle quoting
202206
stdio: this._stdio as any,
203207
sync: false,
204208
nothrow: true,

0 commit comments

Comments
 (0)