Browse Source

打印更新/新增的信息

skyfffire 3 years ago
parent
commit
ed27bfe690
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/calcLevel2Path.ts

+ 2 - 2
scripts/calcLevel2Path.ts

@@ -58,7 +58,7 @@ async function main() {
 
     if (sameSumPoolList.length > 1) {
       handleSamePools(sameSumPoolList, checkedPath[v2Pool.sum2])
-      await swapPath.appendOrUpdate(v2Pool.sum2, '2', checkedPath[v2Pool.sum2])
+      logger.debug(await swapPath.appendOrUpdate(v2Pool.sum2, '2', checkedPath[v2Pool.sum2]))
     }
   }
   // 处理v3的
@@ -84,7 +84,7 @@ async function main() {
 
     if (sameSumPoolList.length > 1) {
       handleSamePools(sameSumPoolList, checkedPath[v3Pool.sum2])
-      await swapPath.appendOrUpdate(v3Pool.sum2, '2', checkedPath[v3Pool.sum2])
+      logger.debug(await swapPath.appendOrUpdate(v3Pool.sum2, '2', checkedPath[v3Pool.sum2]))
     }
   }
   logger.debug('query ok.')