rsibot-utils 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -4,7 +4,7 @@ const util = require('util');
|
|
4
4
|
const exec = util.promisify(require('child_process').exec);
|
5
5
|
const { HotCoin, ActiveCoin, Queue, Historical } = require('./db');
|
6
6
|
const CNAME = process.env.CNAME;
|
7
|
-
const LOGS_PATH = CNAME ? `${CNAME}_logs.txt` : '
|
7
|
+
const LOGS_PATH = CNAME ? `${CNAME}_logs.txt` : 'host_logs.txt';
|
8
8
|
|
9
9
|
function sortByPercent(a, b) {
|
10
10
|
return b.percentChange - a.percentChange;
|