Skip to content

Commit 2d5063e

Browse files
committed
lt config parameter with underscore
1 parent f75ce45 commit 2d5063e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

commands/utils/batch/batch_runner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ async function run(lt_config, batches, env, i = 0) {
182182
});
183183
})
184184
.catch(function (err) {
185-
console.log("No able to archive the project");
185+
console.log("Unable to archive the project");
186186
console.log(err);
187187
reject(err);
188188
});

commands/utils/set_args.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,14 +325,13 @@ function sync_args_from_cmd(args) {
325325

326326
//Set the env variables
327327
let sys_env_vars = undefined;
328-
let sys_env = undefined;
329328
if ("sys-envs" in args) {
330329
sys_env_vars = args["sys-envs"];
331330
sys_env_vars = sys_env_vars.trim();
332331
sys_env_vars = sys_env_vars.split(",");
333-
} else if (lt_config["run_settings"]["sys-envs"]) {
332+
} else if (lt_config["run_settings"]["sys_envs"]) {
334333

335-
sys_env_vars = lt_config["run_settings"]["sys-envs"];
334+
sys_env_vars = lt_config["run_settings"]["sys_envs"];
336335
sys_env_vars = sys_env_vars.trim();
337336
sys_env_vars = sys_env_vars.split(";");
338337
}
@@ -357,9 +356,10 @@ function sync_args_from_cmd(args) {
357356
}
358357

359358
}
360-
lt_config["run_settings"]["sys-envs"] = envs;
359+
lt_config["run_settings"]["sys_envs"] = envs;
361360
}
362361

362+
console.log("lt_config - ", lt_config);
363363
//get specs from current directory if specs are not passed in config or cli
364364
if (
365365
(lt_config["run_settings"]["specs"] == undefined ||

0 commit comments

Comments
 (0)