fix: add vars for production

This commit is contained in:
Randell Dawson
2018-11-12 12:28:02 -08:00
committed by mrugesh mohapatra
parent 382c096f38
commit 4c59c0565b
3 changed files with 12 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
const path = require('path');
const fs = require('fs');
const { saveToFile } = require('./fileFunctions');
@@ -8,7 +9,8 @@ class PrProcessingLog {
this._lastPRlogged = null;
this._finish = null;
this._prs = {};
this._logfile = 'data/open-prs-processed.json';
//path.resolve(__dirname, '../../../guide');
this._logfile = path.resolve(__dirname, './data/open-prs-processed.json');
}
import() {