This commit is contained in:
Eugene Pankov 2023-08-07 22:40:10 +02:00 committed by Eugene
parent f0bc1db9ae
commit 673f5192e9

View file

@ -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