diff options
Diffstat (limited to 'src/bin/ngit/sub_commands/pr_status.rs')
| -rw-r--r-- | src/bin/ngit/sub_commands/pr_status.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/bin/ngit/sub_commands/pr_status.rs b/src/bin/ngit/sub_commands/pr_status.rs index 4a51bb3..f3ac627 100644 --- a/src/bin/ngit/sub_commands/pr_status.rs +++ b/src/bin/ngit/sub_commands/pr_status.rs | |||
| @@ -206,5 +206,12 @@ pub async fn launch_ready(id: &str, offline: bool, reason: Option<&str>) -> Resu | |||
| 206 | } | 206 | } |
| 207 | 207 | ||
| 208 | pub async fn launch_draft(id: &str, offline: bool, reason: Option<&str>) -> Result<()> { | 208 | pub async fn launch_draft(id: &str, offline: bool, reason: Option<&str>) -> Result<()> { |
| 209 | launch_status(id, offline, Kind::GitStatusDraft, "converted to draft", reason).await | 209 | launch_status( |
| 210 | id, | ||
| 211 | offline, | ||
| 212 | Kind::GitStatusDraft, | ||
| 213 | "converted to draft", | ||
| 214 | reason, | ||
| 215 | ) | ||
| 216 | .await | ||
| 210 | } | 217 | } |