mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 16:26:25 +00:00
always convert to string
This commit is contained in:
parent
a8f4c23254
commit
d0cda7f1d5
@ -103,7 +103,7 @@ export const getFlagsFromLocation = (location: Location, command?: string): stri
|
|||||||
values = [values]
|
values = [values]
|
||||||
|
|
||||||
for (const value of values)
|
for (const value of values)
|
||||||
flags = [...flags, `--${flag}`, value]
|
flags = [...flags, `--${String(flag)}`, String(value)]
|
||||||
}
|
}
|
||||||
return flags
|
return flags
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user