diff --git a/poly/yauzl.js b/poly/yauzl.js index ee2b112..2c4880a 100644 --- a/poly/yauzl.js +++ b/poly/yauzl.js @@ -36,7 +36,5 @@ exports.open = async (zipPath, _options, callback) => { errorOut(err); }); - proc.on('close', async () => { - listeners.end(); - }); + proc.on('close', () => listeners.end()); }; \ No newline at end of file