Spurious, unreadable ZIPs created when working with unpacked resources that contain nested folders
Opened this issue · 0 comments
davidmreed commented
ForceCLI version: 0.25.0 (latest released)
Environment: Windows 7/Git Bash
When working with unpacked Static Resources, issuing force push -t StaticResource
results in ForceCLI creating spurious ZIPs. For example, the following directory tree:
src/
staticresources/
Leaflet/
... various content files ...
images/
... various content files ...
results in the creation of three resource files:
- src/staticresources.resource
- src/staticresources/Leaflet.resource
- src/staticresources/Leaflet/images.resources
All three resource files are invalid ZIPs according to Windows Explorer and 7zip. (I do not have access to a Linux machine at work to validate these files). References within the static resource on Salesforce return 404 errors.