(aws-lambda-nodejs): commandHooks
is called twice when local bundling
#31973
Labels
@aws-cdk/aws-lambda-nodejs
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
It seems that the
commandHook
is being called twice when using local-bundling.Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
In my opinion, a
commandHooks
should only be executed once.Current Behavior
commandHooks
are executed twice (only in case of local bundling)Reproduction Steps
When I run the above code, the
console.log
inafterBundling
is printed twice:This only seems to happen with local bundling, not docker bundling.
Is this expected behavior?
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.164.0 (build 75cf2e0)
Framework Version
No response
Node.js Version
v22.8.0
OS
Mac
Language
TypeScript
Language Version
5.6.3
Other information
No response
The text was updated successfully, but these errors were encountered: