fs.mkdirSync
on app.synth
raises EEXIST
that should be safely ignored (never happened before)
#2344
Labels
fs.mkdirSync
on app.synth
raises EEXIST
that should be safely ignored (never happened before)
#2344
Description of the bug:
When
app.synth()
ing, an error is raised if the folder already exists:this line there:
Reproduction Steps:
synth twice so the first time the folder is created.
Error Log:
Environment:
Bun version 1.1.44
Node version v23.6.0
Other:
I wanted to be sure it's not coming from
Bun
so I did a simple test file:and this raise the same error both on
Node
andBun
.As a workaround I monkey patch like this so it just continues execution of code. It never happened before with versions back to
cdk8s-plus-29
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: