Преглед на файлове

移除所有条件试试

龚成明 преди 2 години
родител
ревизия
0fc05cdc15
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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)