We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I am not sure if it is a bug or expected behaviour in 0.5, but the following code behaves differently in 0.4 and 0.5.0:
var fs = require('fs'), archiver = require('archiver'); function go() { var zipStream = fs.createWriteStream('./profile.zip'), archive = archiver('zip', { forceUTC: true }); zipStream.on('close', function() { console.log('ok, created'); }); archive.pipe(zipStream); archive.finalize(); } go();
In 0.4, on 'close' is called, but not with 0.5. Note that the zip is created.
(I know that creating an empty zip file seems weird... It's just a test scenario actually)
The text was updated successfully, but these errors were encountered:
noted. will review first chance.
Sorry, something went wrong.
9be49de
v0.5.1 has been published. let me know if that doesn't fix it.
v0.5.1
It is fixed! Thanks a lot.
No branches or pull requests
Hi,
I am not sure if it is a bug or expected behaviour in 0.5, but the following code behaves differently in 0.4 and 0.5.0:
In 0.4, on 'close' is called, but not with 0.5. Note that the zip is created.
(I know that creating an empty zip file seems weird... It's just a test scenario actually)
The text was updated successfully, but these errors were encountered: