Skip to content

Commit 31c80c6

Browse files
committed
Fix build errors
1 parent 671d199 commit 31c80c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/services/Elastic.Documentation.Services/Changelog/GitHubPrService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static GitHubPrService()
8484
_logger.LogWarning("Request timeout fetching PR info from GitHub");
8585
return null;
8686
}
87-
catch (Exception ex) when (ex is not OutOfMemoryException && ex is not StackOverflowException && ex is not ThreadAbortException)
87+
catch (Exception ex) when (ex is not (OutOfMemoryException or StackOverflowException or ThreadAbortException))
8888
{
8989
_logger.LogWarning(ex, "Unexpected error fetching PR info from GitHub");
9090
return null;

src/tooling/docs-builder/Commands/ChangelogCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public Task<int> Default()
3232
/// Add a new changelog fragment from command-line input
3333
/// </summary>
3434
/// <param name="title">Optional: A short, user-facing title (max 80 characters). Required if --pr is not specified. If --pr and --title are specified, the latter value is used instead of what exists in the PR.</param>
35-
/// <param name="type">Optional: Type of change (feature, enhancement, bug-fix, breaking-change, etc.). Required if --pr is not specified. If --pr is specified, will be derived from PR labels if not provided.</param>
35+
/// <param name="type">Optional: Type of change (feature, enhancement, bug-fix, breaking-change, etc.). Required if --pr is not specified. If mappings are configured, type can be derived from the PR.</param>
3636
/// <param name="products">Required: Products affected in format "product target lifecycle, ..." (e.g., "elasticsearch 9.2.0 ga, cloud-serverless 2025-08-05")</param>
3737
/// <param name="subtype">Optional: Subtype for breaking changes (api, behavioral, configuration, etc.)</param>
3838
/// <param name="areas">Optional: Area(s) affected (comma-separated or specify multiple times)</param>

0 commit comments

Comments
 (0)