Antora remove unnecessary logging
This commit is contained in:
parent
3c39761ca1
commit
939a5581f2
|
|
@ -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);
|
||||
})
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue