Skip to content

Commit

Permalink
MA-15096: added odr_runtime parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekseiKochetkov committed Dec 1, 2023
1 parent b8e7095 commit 0a6f98c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/vk-miniapps-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ async function getExtraOptions() {

const extraOptions = await prompt(questions);

if (extraOptions.update_prod === false && extraOptions.update_dev === false && extraOptions.update_test === false) {
if (
extraOptions.update_prod === false
&& extraOptions.update_dev === false
&& extraOptions.update_test === false
) {
process.exit();
}

Expand Down
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,9 @@ async function run(cfg) {
if ('test_group_name' in cfg) {
params.test_group_name = cfg.test_group_name
}
if ('odr_runtime' in cfg && cfg.odr_runtime !== '') {
params.odr_runtime = cfg.odr_runtime;
}

const endpointPlatformKeys = Object.keys(cfg.endpoints);
if (endpointPlatformKeys.length) {
Expand Down

0 comments on commit 0a6f98c

Please sign in to comment.