mirror of
https://github.com/warp-tech/warpgate.git
synced 2024-09-20 06:46:17 +08:00
lint
This commit is contained in:
parent
f0bc1db9ae
commit
673f5192e9
|
@ -17,7 +17,7 @@ function escapeWin (arg: string): string {
|
|||
const isWin = new UAParser().getOS().name === 'Windows'
|
||||
|
||||
export function shellEscape (stringOrArray: string[]|string): string {
|
||||
const ret = []
|
||||
const ret: string[] = []
|
||||
|
||||
const escapePath = isWin ? escapeWin : escapeUnix
|
||||
|
||||
|
|
Loading…
Reference in a new issue