[Poly > Yauzl] Fix syntax error from last commit

This commit is contained in:
Ducko 2022-03-11 13:49:53 +00:00
parent 61d0f3a2ab
commit 767929245e

View file

@ -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) => {