From 767929245e46f9c2002f7526895cda289f45a0e3 Mon Sep 17 00:00:00 2001 From: Oj Date: Fri, 11 Mar 2022 13:49:53 +0000 Subject: [PATCH] [Poly > Yauzl] Fix syntax error from last commit --- poly/yauzl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {