fix(ci): align CLI spec with test contract & resolve release validation conflict
This commit is contained in:
@@ -232,7 +232,7 @@ function command_spec(command) {
|
||||
generate_reality_keypair: [ "server/service.uc", "generate-reality-keypair", 0 ],
|
||||
get_tls_certificate_sha256: [ "server/service.uc", "tls-certificate-sha256", 1 ],
|
||||
component_action: [ "components/action.uc", "component-action", 2 ],
|
||||
component_action_async: [ "components/updates.uc", "component-action-async", 3 ],
|
||||
component_action_async: [ "components/updates.uc", "component-action-async", 2 ],
|
||||
component_action_status: [ "components/updates.uc", "component-action-status", 1 ],
|
||||
component_action_log: [ "components/updates.uc", "component-action-log", 2 ],
|
||||
component_list_releases: [ "components/action.uc", "list-component-releases", 2 ],
|
||||
@@ -315,6 +315,8 @@ function run_spec(command, spec, user_args) {
|
||||
let count = int(spec[2] || 0);
|
||||
for (let i = 0; i < count; i++)
|
||||
push(args, user_args[i] || "");
|
||||
for (let i = count; i < length(user_args); i++)
|
||||
push(args, user_args[i]);
|
||||
|
||||
return normalize_status(system(command_from_args(args)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user