diff --git a/poly/yauzl.js b/poly/yauzl.js index 9fa8f17..31db8fa 100644 --- a/poly/yauzl.js +++ b/poly/yauzl.js @@ -3,7 +3,7 @@ const { execFile } = require('child_process'); const mkdirp = require('mkdirp'); exports.open = async (zipPath, _opts, callback) => { - const extractPath = `${global.moduleDataPath}/${zipPath.split('/').pop().split('.')[0].split('-')[0])}`; + const extractPath = `${global.moduleDataPath}/${zipPath.split('/').pop().split('.')[0].split('-')[0]}`; const listeners = []; const errorOut = (err) => {