diff --git a/tech.js b/tech.js index 94dee9e..ea9a46a 100644 --- a/tech.js +++ b/tech.js @@ -98,6 +98,14 @@ rss_braider.processFeed('simple_test_feed', 'json', function (err, data) { return console.log(err); } + console.log("The file was saved!"); + }); + + fs.writeFile(__dirname + "/html/" + outputFile + ".json", data, function (err) { + if (err) { + return console.log(err); + } + console.log("The file was saved!"); }); });