You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might be misreading the documentation, but I'm having a hard time reading a folder that exists within my zip file. I'm loading a TOML file within the zip with a specified name, and based on one of the keys I check if the folder name exists.
When I print config.build.source it does say game which is expected.
The logs in the console are showing:
Source folder: undefined and Source folder content: undefined. According to the documentation, zip.folder should be returning a JSZip which allows me to get the name, etc. I want to then iterate all files inside of this directory to perform some operations on them on a backend endpoint.
Here is the zip file I am reading, which is passed from a file pick/drop operation: content.zip
For context, I am relatively new to using TypeScript, but I feel like I'm on the right track with what I'm doing.
The text was updated successfully, but these errors were encountered:
Hi,
I might be misreading the documentation, but I'm having a hard time reading a folder that exists within my zip file. I'm loading a TOML file within the zip with a specified name, and based on one of the keys I check if the folder name exists.
When I print
config.build.source
it does saygame
which is expected.The logs in the console are showing:
Source folder: undefined
andSource folder content: undefined
. According to the documentation,zip.folder
should be returning a JSZip which allows me to get the name, etc. I want to then iterate all files inside of this directory to perform some operations on them on a backend endpoint.Here is the zip file I am reading, which is passed from a file pick/drop operation:
content.zip
For context, I am relatively new to using TypeScript, but I feel like I'm on the right track with what I'm doing.
The text was updated successfully, but these errors were encountered: