Skip to content

Commit 514da55

Browse files
committed
Linter
1 parent a28ed32 commit 514da55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Octoshift/Services/GithubClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ private void EnsureSuccessGraphQLResponse(JObject response)
293293
private bool IsSecondaryRateLimit(HttpStatusCode statusCode, string content)
294294
{
295295
// Secondary rate limits return 403 or 429
296-
if (statusCode != HttpStatusCode.Forbidden && statusCode != HttpStatusCode.TooManyRequests)
296+
if (statusCode is not HttpStatusCode.Forbidden and not HttpStatusCode.TooManyRequests)
297297
{
298298
return false;
299299
}

0 commit comments

Comments
 (0)