cleaned up console logs

pull/20/head
Ro 4 years ago
parent 5a9a14deaa
commit 192998bdb4

@ -119,11 +119,8 @@ export default class Render {
'/' +
page.metadata.slug +
'.html'
).then(() => {
console.log('REMOVED');
});
);
}
console.log('REMOVE', page.metadata.slug);
}
}
})
@ -211,14 +208,14 @@ export default class Render {
fs.writeFile('public/archives.html', file, err => {
// throws an error, you could also catch it here
if (err) {
console.log('ERROR', err);
//console.log('ERROR', err);
//response = { type: DataEvent.TAG_PAGES_NOT_RENDERED, message: err };
}
// success case, the file was saved
});
})
.catch(err => {
console.log(err);
.catch(() => {
//console.log(err);
});
}
loadRenderData() {

Loading…
Cancel
Save