archive.bulk() messes up filenames when data is specified#67
archive.bulk() messes up filenames when data is specified#67petrosagg wants to merge 2 commits intoarchiverjs:masterfrom balena-io:master
Conversation
|
what |
|
is there a reason to not use |
|
I found the bug trying to to set The reason that I used |
|
hum, ok let me peek at the code tonight and see how i want treat this. |
|
this is very odd, as |
|
it seems that in the onend of |
|
thanks for bringing this to my attention. i patched it in a slightly different way. i believe its the foreach in foreach that was causing the vars by reference to get spastic. |
|
pushed out |
If you create an archive (with any of the default modules) of a folder that has multiple files using archive.bulk() and also set the data parameter to be an object all the files in the archive end up with the same name.