From 70141a950ec9d55f4b8ddd6d2922df96434ec576 Mon Sep 17 00:00:00 2001 From: "martind2000@gmail.com" Date: Mon, 27 Jul 2015 23:39:14 +0100 Subject: [PATCH] tech now jsons --- tech.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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!"); }); });