fmt: single-line if
This commit is contained in:
@@ -82,8 +82,7 @@ async fn summarize_one(
|
||||
kind: &str,
|
||||
) -> Result<(), String> {
|
||||
let material = collect_material(pool, mission_id, phase_id).await?;
|
||||
if material.outputs.is_empty() && material.tasks_created == 0 && material.artifacts.is_empty()
|
||||
{
|
||||
if material.outputs.is_empty() && material.tasks_created == 0 && material.artifacts.is_empty() {
|
||||
// Nothing to summarize. Write a placeholder so we don't retry
|
||||
// this phase every 30s.
|
||||
return upsert_summary(
|
||||
|
||||
Reference in New Issue
Block a user