Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allowing nested empty directories. Fixes #245 and #144 #246

Merged
merged 2 commits into from
Nov 3, 2022

Conversation

mmaietta
Copy link

@mmaietta mmaietta commented Oct 27, 2022

Allowing nested empty directories, such as for the case with scoped node_modules.
Fixes #245 and #144

I tried to think of an additional test to add but I think this one was already supposed to cover this use case? https://github.com/electron/asar/tree/main/test/input/packthis-unicode-path/dir1
https://github.com/electron/asar/blob/main/test/api-spec.js#L84-L90

@erickzhao erickzhao requested a review from a team October 27, 2022 23:43
@mmaietta mmaietta closed this Oct 27, 2022
@mmaietta mmaietta reopened this Oct 27, 2022
@VerteDinde
Copy link
Member

@mmaietta Thanks for the PR! 🙇‍♀️ We'll get this merged and a new release cut for you

@VerteDinde VerteDinde merged commit a4a6071 into electron:main Nov 3, 2022
@continuous-auth
Copy link

🎉 This PR is included in version 3.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create asar fails for nested empty directories: Cannot read property 'files' of undefined
3 participants