Skip to content

Commit bb880e8

Browse files
authored
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*
1 parent 30a0d33 commit bb880e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/aws-cdk-lib/aws-lambda/lib/function.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,8 @@ export interface FunctionOptions extends EventInvokeConfigOptions {
388388
*
389389
* @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.
390390
* Migrating from `logRetention` to `logGroup` will cause the name of the log group to change.
391-
* Users and code and referencing the name verbatim will have to adjust.\
391+
* Users and code and referencing the name verbatim will have to adjust.
392+
*
392393
* In AWS CDK code, you can access the log group name directly from the LogGroup construct:
393394
* ```ts
394395
* declare const myLogGroup: logs.LogGroup;

0 commit comments

Comments
 (0)