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
// This alternative strategy shouldn't be necessary but sometimes on Windows the file does not get closed,
// so unzipping it fails, and I don't know why.
I think this is because the promise resolves on('finish' of the outFile. This is when contents have been written, but the file is not yet closed. Changing that to on('close' should resolve the issue.
I think this is because the promise resolves
on('finish'
of the outFile. This is when contents have been written, but the file is not yet closed. Changing that toon('close'
should resolve the issue.Ref https://nodejs.org/api/fs.html#filehandlecreatewritestreamoptions
The text was updated successfully, but these errors were encountered: