Sfoglia il codice sorgente

移除所有条件试试

龚成明 2 anni fa
parent
commit
0fc05cdc15
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
     })()
     table.showLine(rows, isLogToFile ? fileLogger : undefined)