guhongwei 2 jaren geleden
bovenliggende
commit
d1d9b85c0f
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      app/service/patent/patentwarning.js

+ 1 - 1
app/service/patent/patentwarning.js

@@ -39,7 +39,7 @@ class PatentwarningService extends CrudService {
     // 修改,多个专利:需要扫描下解压后的文件夹,然后循环处理下面所有的内容
     const tempDirRootPath = `${uncompressFilePath}${sep}`;
     const tempDir = await fs.readdirSync(tempDirRootPath);
-    const errorList = [];
+    let errorList = [];
     for (const tempDirPath of tempDir) {
       if (tempDirPath.includes('.zip')) continue;
       // const thisDirPath = `${tempDirRootPath}${sep}${tempDirPath}`;