[aws-lambda-nodejs] when interrupting cdk commands (synth), package.json is left "dirty" #9130
Labels
@aws-cdk/aws-lambda-nodejs
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
in-progress
This issue is being actively worked on.
p2
Hi there, when using aws-lambda-nodejs, one of the step of the program is to add some configuration for parcel inside the user package.json:
I can see that when running
cdk synth
, my package.json gets updated and then the configuration is removed.The issue is that if you interrupt cdk synth, for example if it is slow with CTRL+C in a terminal, and it has not yet finished what it needs to do, then your package.json is left dirty with all the parcel configuration still present in it.
I first thought it was some configuration that was needed to be here every time, and then understood it's only temporary configuration.
Reproduction Steps
Error Log
no errors
Environment
Other
n/a
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: