Skip to content
This repository was archived by the owner on Mar 7, 2020. It is now read-only.

Conversation

@BrianODell
Copy link

In packaging.js (line 60), the rimraf module is used to delete 'install_dir'. However 'install_dir' had been set to 'dist', which is also our final destination (in opts.dist_folder). Because the intermediate dir (install_dir) was copied into itself, the zip file would lose it's contents. And then when trying to clean up the intermediate directory, the 'dist' folder would be deleted.

@alexanderdean
Copy link
Contributor

Closing in deference to the parent ticket

@bigsnarfdude
Copy link
Contributor

I was able to verify this issue and one solution is move the target to _dist. I'm gonna try this solution as it is more elegant.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants