From bb53b44df3619802eed5a297facb52787fcdc84b Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Sat, 20 Jul 2019 11:30:47 -0400 Subject: [PATCH] short circuit --- Main.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Main.cs b/Main.cs index 98d92fa..c6b818f 100644 --- a/Main.cs +++ b/Main.cs @@ -41,6 +41,7 @@ namespace bundlephobia if (string.IsNullOrWhiteSpace(text)) { await Client.PostAsJsonAsync(responseUrl, new { text = $"😢 Please type a name of a package with /yikes packageName" }); + return; } httpReq.HttpContext.Response.Clear(); try