Browse Source

remvoe unused val

reiji-h 1 year ago
parent
commit
3b4c6e04db
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apps/app/src/server/service/growi-bridge/index.ts

+ 2 - 2
apps/app/src/server/service/growi-bridge/index.ts

@@ -79,11 +79,11 @@ class GrowiBridgeService {
 
     const readStream = fs.createReadStream(zipFile);
     const parseStream = unzipStream.Parse();
-    const unzipStreamPipe = pipeline(readStream, parseStream);
+    const unzipEntryStream = pipeline(readStream, parseStream);
 
     let tapPromise;
 
-    const unzipEntryStream = unzipStreamPipe.on('entry', (entry: Entry) => {
+    unzipEntryStream.on('entry', (entry: Entry) => {
       const fileName = entry.path;
       const size = entry.size; // might be undefined in some archives
       if (fileName === this.getMetaFileName()) {