fix: a deploy is not blocked by the draft a move carried to its destination

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ruben Fiszel
2026-09-15 22:54:16 +02:00
co-authored by Claude Opus 5
parent a51ead0e21
commit 4b348bb0bf
6 changed files with 73 additions and 4 deletions
@@ -2322,6 +2322,7 @@ async fn create_script_internal<'c>(
&[UserDraftItemKind::Script],
p_path,
&ns.path,
(!skip_draft_deletion).then_some(authed.email.as_str()),
)
.await?;
}