jobs fix, reverted
This commit is contained in:
parent
b07a722b45
commit
78d62d8817
@ -196,13 +196,17 @@ var rss_braider = RssBraider.createClient(braider_options);
|
|||||||
rss_braider.logger.level('debug');
|
rss_braider.logger.level('debug');
|
||||||
|
|
||||||
rss_braider.processFeed('simple_test_feed', 'json', function(err, data) {
|
rss_braider.processFeed('simple_test_feed', 'json', function(err, data) {
|
||||||
|
console.warn('A');
|
||||||
if (err) {
|
if (err) {
|
||||||
return console.error(err);
|
return console.error(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.warn('B');
|
||||||
var j = JSON.parse(data);
|
var j = JSON.parse(data);
|
||||||
|
console.warn('C');
|
||||||
var ejsOutput = ejs.compile(str)(j);
|
var ejsOutput = ejs.compile(str)(j);
|
||||||
|
|
||||||
|
console.warn('D')
|
||||||
fs.writeFile(__dirname + "/dist/" + outputFile + ".html",
|
fs.writeFile(__dirname + "/dist/" + outputFile + ".html",
|
||||||
ejsOutput,
|
ejsOutput,
|
||||||
function(err) {
|
function(err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user