Browse Source

Antora remove unnecessary logging

Rob Winch 3 years ago
parent
commit
939a5581f2
1 changed files with 0 additions and 2 deletions
  1. 0 2
      docs/antora/extensions/version-fix.js

+ 0 - 2
docs/antora/extensions/version-fix.js

@@ -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);
         })
     })
 }