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 +
|
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() {
|
||||||
|
|
Loading…
Reference in a new issue