Skip to content

fix: use fs.rm instead of fs.rmdir, update minimum node version - #40

Open
Dadadah wants to merge 1 commit into
feross:masterfrom
Dadadah:master
Open

fix: use fs.rm instead of fs.rmdir, update minimum node version#40
Dadadah wants to merge 1 commit into
feross:masterfrom
Dadadah:master

Conversation

@Dadadah

@Dadadah Dadadah commented Aug 16, 2026

Copy link
Copy Markdown

fs.rmdir no longer supports the recursive option as of node 25. This PR changes doZip to use fs.rm instead.

This PR increases the minimum node version to 14.14.0. This was already the case as this repo used fs.rmsync before, so the minimum was incorrect.

#38 results in zip electron builds in electron-forge failing on windows with node >= 25.

Fixes #38

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fs.rmdir deprecated

1 participant