From a7ab8b3bdae46f2647fe9ef0d2c1f5ccab71eacb Mon Sep 17 00:00:00 2001 From: Lothar Bender Date: Wed, 24 Nov 2021 17:59:43 +0100 Subject: [PATCH] optional plugin.activate() method --- cds-plugin-openapi/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cds-plugin-openapi/index.js b/cds-plugin-openapi/index.js index f41ab193..15b054ea 100644 --- a/cds-plugin-openapi/index.js +++ b/cds-plugin-openapi/index.js @@ -5,7 +5,7 @@ const cds = require('@sap/cds'), { BuildTaskProvider, BuildTaskHandler } = cds.b const cdsdk = require('@sap/cds-dk') const logger = cds.log("build") -module.exports.activate = () => { +// module.exports.activate = () => { cds.build.registerProvider( new (class extends BuildTaskProvider { get id() { @@ -50,4 +50,4 @@ module.exports.activate = () => { // } })() ) -} \ No newline at end of file +// } \ No newline at end of file