always convert to string

This commit is contained in:
cupcakearmy 2019-12-04 23:35:26 +01:00
parent a8f4c23254
commit d0cda7f1d5

View File

@ -103,7 +103,7 @@ export const getFlagsFromLocation = (location: Location, command?: string): stri
values = [values]
for (const value of values)
flags = [...flags, `--${flag}`, value]
flags = [...flags, `--${String(flag)}`, String(value)]
}
return flags
}