diff --git a/fileFunctions.js b/fileFunctions.js index e319946bc8..8fd7a98493 100644 --- a/fileFunctions.js +++ b/fileFunctions.js @@ -1,7 +1,7 @@ const fs = require('fs'); const saveToFile = (fileName, data) => { - fs.writeFile(fileName, data, err => { + fs.writeFileSync(fileName, data, err => { if (err) { return console.log(err) } }); } diff --git a/prProcessingLog.js b/prProcessingLog.js index 35e004d5b1..004d55811b 100644 --- a/prProcessingLog.js +++ b/prProcessingLog.js @@ -10,7 +10,6 @@ class PrProcessingLog { this._lastPRlogged = null; this._finish = null; this._prs = {}; - //path.resolve(__dirname, '../../../guide'); this._logfile = path.resolve(__dirname, './work-logs/open-prs-processed.json'); }