From 5f683f44b07d595e4d1e33c62458cb9d91a81734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20Irl=C3=A4nder?= Date: Tue, 4 Jun 2024 14:07:09 +0200 Subject: [PATCH] refacor: Removed some debugging output --- src/index.ts | 1 - src/lib/my-custom-plugin/index.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 69da658..a1919cb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,6 @@ export * from './lib'; async function runPlugin() { const globalConfig = newYourGlobalConfig('http://localhost:9090'); - console.log(globalConfig); const newModel = MyCustomPlugin(globalConfig); const usage = await newModel.execute([]); console.log(usage); diff --git a/src/lib/my-custom-plugin/index.ts b/src/lib/my-custom-plugin/index.ts index baa6705..47e64ff 100644 --- a/src/lib/my-custom-plugin/index.ts +++ b/src/lib/my-custom-plugin/index.ts @@ -12,6 +12,7 @@ export const MyCustomPlugin = ( * Execute's strategy description here. */ const execute = async (inputs: PluginParams[]): Promise => { + console.log(globalConfig); return inputs.map(input => { // your logic here globalConfig;