ensure string values on args for later processing
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
parent
3eb18d8099
commit
6f47a506d0
|
|
@ -614,6 +614,9 @@ class ISCSI {
|
|||
command = iscsi.options.paths.sudo;
|
||||
}
|
||||
|
||||
// ensure all args are converted to string values
|
||||
args = args.map(String);
|
||||
|
||||
// --name node.session.auth.password --value FOOBAR
|
||||
let argIndex;
|
||||
let cleansedArgs = [...args];
|
||||
|
|
|
|||
|
|
@ -254,6 +254,9 @@ class Kopia {
|
|||
command = kopia.options.paths.sudo;
|
||||
}
|
||||
|
||||
// ensure all args are converted to string values
|
||||
args = args.map(String);
|
||||
|
||||
options.env = {
|
||||
...{},
|
||||
...process.env,
|
||||
|
|
|
|||
Loading…
Reference in New Issue