mirror of
https://github.com/democratic-csi/democratic-csi.git
synced 2026-10-19 09:44:50 +02:00
ensure string values on args for later processing
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user