short circuit
This commit is contained in:
1
Main.cs
1
Main.cs
@@ -41,6 +41,7 @@ namespace bundlephobia
|
|||||||
if (string.IsNullOrWhiteSpace(text))
|
if (string.IsNullOrWhiteSpace(text))
|
||||||
{
|
{
|
||||||
await Client.PostAsJsonAsync(responseUrl, new { text = $"😢 Please type a name of a package with /yikes packageName" });
|
await Client.PostAsJsonAsync(responseUrl, new { text = $"😢 Please type a name of a package with /yikes packageName" });
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
httpReq.HttpContext.Response.Clear();
|
httpReq.HttpContext.Response.Clear();
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in New Issue
Block a user