Skip to content

Commit fbf8fcd

Browse files
committed
fixed baseline flag handling
1 parent 7ff793a commit fbf8fcd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

commands/utils/set_args.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,17 @@ function sync_args_from_cmd(args) {
464464
}
465465
}
466466

467+
if ("vi-base" in args) {
468+
if (lt_config.run_settings.smart_ui == undefined) {
469+
lt_config.run_settings.smart_ui = {};
470+
}
471+
if (args["vi-base"] == "true") {
472+
lt_config.run_settings.smart_ui.baseline = true;
473+
} else {
474+
lt_config.run_settings.smart_ui.baseline = false;
475+
}
476+
}
477+
467478
if (
468479
lt_config.run_settings.project_name &&
469480
!lt_config.run_settings.project_key

0 commit comments

Comments
 (0)