fmt: cargo fmt on set_status launch gate
This commit is contained in:
@@ -496,10 +496,7 @@ pub async fn set_status(
|
|||||||
.any(|v| v.as_array().map(|a| !a.is_empty()).unwrap_or(false))
|
.any(|v| v.as_array().map(|a| !a.is_empty()).unwrap_or(false))
|
||||||
})
|
})
|
||||||
.unwrap_or(false);
|
.unwrap_or(false);
|
||||||
if prior.team_id.is_none()
|
if prior.team_id.is_none() && prior.team_template_id.is_none() && !has_phase_teams {
|
||||||
&& prior.team_template_id.is_none()
|
|
||||||
&& !has_phase_teams
|
|
||||||
{
|
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"mission {id}: launch rejected — no team_id, no team_template_id, no config.phase_teams"
|
"mission {id}: launch rejected — no team_id, no team_template_id, no config.phase_teams"
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user