Bug 2046941: fix new switch statements introduced by 2044114 r=releng-reviewers,ahal

The autoland one has been verified to have multiple truthy-branches (not allowed by JSON-e); the other one looks like it plausibly could too.

Differential Revision: https://phabricator.services.mozilla.com/D306277
This commit is contained in:
Ben Hearsum
2026-06-11 22:56:46 +00:00
committed by bhearsum@mozilla.com
parent 5b5f145d02
commit b8535b7f4d
+4
View File
@@ -260,6 +260,8 @@ tasks:
extraArgs:
$switch:
'tasks_for == "cron"': '${cron.quoted_args}'
$default:
$switch:
'repository.project == "autoland"': '--no-verify'
'repository.project == "try"': '--no-verify --allow-parameter-override'
$default: ''
@@ -573,6 +575,8 @@ tasks:
extraArgs:
$switch:
'tasks_for == "cron"': '${cron.quoted_args}'
$default:
$switch:
'repoType == "dev"': '--allow-parameter-override'
$default: ''
in: