short circuit

This commit is contained in:
Tommy Parnell
2019-07-20 11:30:47 -04:00
parent 4e695536a8
commit bb53b44df3

View File

@@ -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