cleaned up console logs

This commit is contained in:
Ro 2020-06-24 13:26:13 -07:00
parent 5a9a14deaa
commit 192998bdb4

View file

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