From bb880e82ac49b6dca200bf0a681598983016373d Mon Sep 17 00:00:00 2001 From: Rico Hermans Date: Thu, 18 Jan 2024 10:40:46 +0100 Subject: [PATCH] chore: remove `\` that breaks the build (#28752) The .NET docstring generator fails to escape the stray `\`, leading to a compilation error: ``` #STDOUT> /tmp/npm-packYlIY9W/Amazon.CDK.Lib/Amazon/CDK/AWS/Lambda/FunctionOptions.cs(437,339): error CS1009: Unrecognized escape sequence [/tmp/npm-packYlIY9W/Amazon.CDK.Lib/Amazon.CDK.Lib.csproj] ``` ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- packages/aws-cdk-lib/aws-lambda/lib/function.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/aws-cdk-lib/aws-lambda/lib/function.ts b/packages/aws-cdk-lib/aws-lambda/lib/function.ts index 763085046c2fe..3a09913c0992e 100644 --- a/packages/aws-cdk-lib/aws-lambda/lib/function.ts +++ b/packages/aws-cdk-lib/aws-lambda/lib/function.ts @@ -388,7 +388,8 @@ export interface FunctionOptions extends EventInvokeConfigOptions { * * @deprecated instead create a fully customizable log group with `logs.LogGroup` and use the `logGroup` property to instruct the Lambda function to send logs to it. * Migrating from `logRetention` to `logGroup` will cause the name of the log group to change. - * Users and code and referencing the name verbatim will have to adjust.\ + * Users and code and referencing the name verbatim will have to adjust. + * * In AWS CDK code, you can access the log group name directly from the LogGroup construct: * ```ts * declare const myLogGroup: logs.LogGroup;