Skip to content

Commit

Permalink
refacor: Removed some debugging output
Browse files Browse the repository at this point in the history
  • Loading branch information
toirl committed Jun 4, 2024
1 parent a26959a commit 5f683f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions src/lib/my-custom-plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const MyCustomPlugin = (
* Execute's strategy description here.
*/
const execute = async (inputs: PluginParams[]): Promise<PluginParams[]> => {
console.log(globalConfig);
return inputs.map(input => {
// your logic here
globalConfig;
Expand Down

0 comments on commit 5f683f4

Please sign in to comment.