浏览代码

Antora remove unnecessary logging

Rob Winch 3 年之前
父节点
当前提交
939a5581f2
共有 1 个文件被更改,包括 0 次插入2 次删除
  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);
         })
     })
 }