From 77bfb226adc0ba039f6b15cfbd52531968c2832c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Mon, 21 Aug 2023 13:13:55 +0200 Subject: [PATCH] cargo fmt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- src/webhook.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webhook.rs b/src/webhook.rs index 2173ef9..f4a348a 100644 --- a/src/webhook.rs +++ b/src/webhook.rs @@ -23,7 +23,7 @@ pub fn format_webhook(wh: &WebHook) -> Option { // Ignore: Action not on 'main' branch return None; } - // Unlikely to be reached as 'main' is probably never going to be deleted + // Unlikely to be reached as 'main' is probably never going to be deleted if push.commits.len() == 0 { // Ignore: Branch got deleted return None;