diff --git a/.changeset/olive-mirrors-explode.md b/.changeset/olive-mirrors-explode.md new file mode 100644 index 0000000..694db83 --- /dev/null +++ b/.changeset/olive-mirrors-explode.md @@ -0,0 +1,5 @@ +--- +"quickpickle": patch +--- + +remove console.log()s. /oops diff --git a/packages/main/src/hooks.ts b/packages/main/src/hooks.ts index 87a403b..ddeb854 100644 --- a/packages/main/src/hooks.ts +++ b/packages/main/src/hooks.ts @@ -37,12 +37,8 @@ export const applyHooks = async (hooksName: string, state: any): Promise = for (let i = 0; i < hooks.length; i++) { let hook = hooks[i] const result = hook.tagsFunction(state.info.tags.map((t:string) => t.toLowerCase())); - if (hooksName === 'beforeAll') console.log('hook.tags:N= ', hook.tags, ' result: ', result) if (result) { - if (hooksName === 'beforeAll') console.log('FWAH') - await hook.f(state).then(() => { - if (hooksName === 'beforeAll') console.log('FWAH!!!') - }); + await hook.f(state) } } return state;