Antora remove unnecessary logging

This commit is contained in:
Rob Winch 2021-11-11 16:07:43 -06:00
parent 3c39761ca1
commit 939a5581f2

View File

@ -5,7 +5,6 @@
module.exports.register = (pipeline, { config }) => {
pipeline.on('contentAggregated', ({ contentAggregate }) => {
console.log("version-fix.js")
contentAggregate.forEach(aggregate => {
if (aggregate.name === "" && aggregate.displayVersion === 5.6) {
aggregate.name = "ROOT";
@ -14,7 +13,6 @@ module.exports.register = (pipeline, { config }) => {
aggregate.displayVersion = `${aggregate.version}`
delete aggregate.prerelease
}
out(aggregate);
})
})
}