Skip to content

Commit 03ef6e9

Browse files
committed
Fix linting
1 parent 8a2ff07 commit 03ef6e9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/services/Elastic.Documentation.Services/ChangelogService.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ Cancel ctx
4141
}
4242

4343
// Validate that if PR is just a number, owner and repo must be provided
44-
if (!string.IsNullOrWhiteSpace(input.Pr)
45-
&& int.TryParse(input.Pr, out _)
44+
if (!string.IsNullOrWhiteSpace(input.Pr)
45+
&& int.TryParse(input.Pr, out _)
4646
&& (string.IsNullOrWhiteSpace(input.Owner) || string.IsNullOrWhiteSpace(input.Repo)))
4747
{
4848
collector.EmitError(string.Empty, "When --pr is specified as just a number, both --owner and --repo must be provided");
@@ -473,10 +473,10 @@ private static string SanitizeFilename(string input)
473473
}
474474
catch (Exception ex)
475475
{
476-
if (ex is OutOfMemoryException ||
477-
ex is StackOverflowException ||
478-
ex is AccessViolationException ||
479-
ex is ThreadAbortException)
476+
if (ex is OutOfMemoryException or
477+
StackOverflowException or
478+
AccessViolationException or
479+
ThreadAbortException)
480480
{
481481
throw;
482482
}

0 commit comments

Comments
 (0)