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 0c6c4e5 commit 163ea66Copy full SHA for 163ea66
src/util.ts
@@ -47,13 +47,6 @@ export function quote(arg: string) {
47
)
48
}
49
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
-
57
export function quotePowerShell(arg: string) {
58
if (/^[a-z0-9/_.\-]+$/i.test(arg) || arg === '') {
59
return arg
0 commit comments