File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/services/Elastic.Documentation.Services Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments