|
@@ -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}`;
|