cleaned up console logs
This commit is contained in:
parent
5a9a14deaa
commit
192998bdb4
1 changed files with 4 additions and 7 deletions
|
@ -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…
Reference in a new issue