This repository has been archived by the owner on May 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(packager): import to dir in dest not temp dir
Before, we were unpacking a bundle to a temp directory, then loading it to validate the bundle. This caused some challenges on windows around file permissions. This PR changes the import logic so that a bundle is unpacked in a directory at the destination specified called <bundle-name>-<version>/ instead and then validated. that directory is removed if the bundle is not valid. If a directory already exists with that name, it is overwritten. resolves #458
- Loading branch information
Michelle Noorali
committed
Nov 20, 2018
1 parent
d94e3df
commit 37fae94
Showing
2 changed files
with
29 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters