Explorar el Código

尝试修复打印问题

龚成明 hace 2 años
padre
commit
f0b4622a9b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scripts/monitors/price-monitor.js

+ 1 - 1
scripts/monitors/price-monitor.js

@@ -34,7 +34,7 @@ const showPrices = function(context, task) {
 
     // 需要输出到文件的打印逻辑
     const isLogToFile = (() => {
-      return percentage > PriceMonitorConfig.percentageLimit && (PrevOneInchPrice !== OneInchPrice && PrevBinancePrice !== BinancePrice)
+      return percentage > PriceMonitorConfig.percentageLimit && (PrevOneInchPrice !== OneInchPrice || PrevBinancePrice !== BinancePrice)
     })()
     table.showLine(rows, isLogToFile ? fileLogger : undefined)