rsibot-utils 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +3 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3,12 +3,10 @@ const path = require('path');
3
3
  const util = require('util');
4
4
  const exec = util.promisify(require('child_process').exec);
5
5
  const dbUtils = require('./db')
6
- const cname = process.env.CNAME;
7
- const LOGS_PATH = cname?`${cname}_logs.txt`:"commander_logs.txt";
6
+ const CNAME = process.env.CNAME;
7
+ const LOGS_PATH = CNAME?`${CNAME}_logs.txt`:"commander_logs.txt";
8
8
 
9
- module.exports = (credentials) => {
10
-
11
- } {
9
+ module.exports = {
12
10
  ...dbUtils,
13
11
  sortByPercent: function (a, b) {
14
12
  return b.percentChange - a.percentChange;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rsibot-utils",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {