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
We found the above approach sometimes resulted in not all files in the archive been extracted and with no error thrown. We resolved by refactoring and dropping the use of fs
I'm prepared to provide more information and perhaps some example code demonstrating different outcomes for both. I'm posting here, not because I'm certain this is a bug but in case it is and I want to support the project in helping to fix it.
I also thought it may be useful for others who may have experienced the same issue to see how it can be resolved.
The text was updated successfully, but these errors were encountered:
nlisgo
changed the title
Extraction of archive not completed when integrating with fs.createReadStream.pipe()
Extraction of archive not completed, in some cases, when integrating with fs.createReadStream.pipe()
Aug 6, 2024
We found the above approach sometimes resulted in not all files in the archive been extracted and with no error thrown. We resolved by refactoring and dropping the use of
fs
See: elifesciences/enhanced-preprints-import@7dcac0c
I'm prepared to provide more information and perhaps some example code demonstrating different outcomes for both. I'm posting here, not because I'm certain this is a bug but in case it is and I want to support the project in helping to fix it.
I also thought it may be useful for others who may have experienced the same issue to see how it can be resolved.
The text was updated successfully, but these errors were encountered: