Skip to content

Commit 0dcdf71

Browse files
Merge pull request #442 from lakshyag-tech/CYP-1026
CYP-1026
2 parents 3a7a6ca + 031f168 commit 0dcdf71

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

commands/utils/set_args.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -364,10 +364,8 @@ function sync_args_from_cmd(args) {
364364
}
365365

366366
if ("video" in args) {
367-
lt_config["run_settings"]["video"] = true
368-
? args["video"] == "true"
369-
: false;
370-
} else if (!lt_config["run_settings"]["video"]) {
367+
lt_config["run_settings"]["video"] = args["video"] == "true";
368+
} else if (lt_config["run_settings"]["video"] === undefined) {
371369
lt_config["run_settings"]["video"] = true;
372370
}
373371

0 commit comments

Comments
 (0)