From d7eddb0b2d811cb350ed520f6e86b32063abea13 Mon Sep 17 00:00:00 2001 From: akorchyn Date: Thu, 24 Oct 2024 19:39:15 +0300 Subject: [PATCH] bugfix: threat no command as Include --- bot/src/events/pr_commands/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/src/events/pr_commands/mod.rs b/bot/src/events/pr_commands/mod.rs index 8df09a1..d0f3f7a 100644 --- a/bot/src/events/pr_commands/mod.rs +++ b/bot/src/events/pr_commands/mod.rs @@ -39,7 +39,7 @@ impl Command { "pause" | "block" => BotPaused::construct(comment), "unpause" | "resume" | "unblock" => BotUnpaused::construct(comment, false), "exclude" | "leave" => BotExcluded::construct(comment), - "include" | "in" | "start" | "join" | "invite" => BotIncluded::construct(comment), + "include" | "in" | "start" | "join" | "invite" | "" => BotIncluded::construct(comment), "update" => BotUpdated::construct(comment), _ if command.chars().all(char::is_numeric) && !command.is_empty() => { BotScored::construct(comment, command)