Skip to content

Commit b3384b7

Browse files
committed
return directly
1 parent 0b55f40 commit b3384b7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core/src/shared/clients/lambdaClient.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ export class DefaultLambdaClient {
319319
}
320320

321321
private async createSdkClient(): Promise<LambdaSdkClient> {
322-
const client = globals.sdkClientBuilderV3.createAwsService({
322+
return globals.sdkClientBuilderV3.createAwsService({
323323
serviceClient: LambdaSdkClient,
324324
userAgent: !this.userAgent,
325325
clientOptions: {
@@ -330,7 +330,6 @@ export class DefaultLambdaClient {
330330
}),
331331
},
332332
})
333-
return client
334333
}
335334
}
336335

0 commit comments

Comments
 (0)