Skip to content

Commit 163ea66

Browse files
committed
Remove quoteWindow function
1 parent 0c6c4e5 commit 163ea66

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/util.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ export function quote(arg: string) {
4747
)
4848
}
4949

50-
export function quoteWindows(arg: string) {
51-
if (/^[a-z0-9/_.\-@:=]+$/i.test(arg) || arg === '') {
52-
return arg
53-
}
54-
return `"` + arg.replace(/"/g, '\\"').replace(/\n/g, '^\n') + `"`
55-
}
56-
5750
export function quotePowerShell(arg: string) {
5851
if (/^[a-z0-9/_.\-]+$/i.test(arg) || arg === '') {
5952
return arg

0 commit comments

Comments
 (0)