Update to Antora 3.0.1

Closes gh-2038
This commit is contained in:
Eleftheria Stein
2022-03-11 15:46:19 +01:00
parent 1b18d64220
commit e157700087
6 changed files with 9 additions and 50 deletions

View File

@@ -1,8 +1,8 @@
'use strict'
module.exports.register = (pipeline, { config }) => {
module.exports.register = function({ config }) {
pipeline.on('contentAggregated', ({ contentAggregate }) => {
this.on('contentAggregated', ({ contentAggregate }) => {
contentAggregate.forEach(aggregate => {
if (aggregate.version === "2.6.2" &&
aggregate.prerelease == "-SNAPSHOT") {