removed unused code
Massimo Melina committed
Mar 11, 2026 at 21:59 UTC
c3101033f54decb0c0d188993b1a8f356097b5bc
1 file changed
-7
src/plugins.ts
-7
@@ -174,13 +174,6 @@ async function initPlugin(pl: any, morePassedToInit?: { id: string } & Dict<any>
174
return pl
175
}
176
177
-const already = new Set()
178
-function warnOnce(msg: string) {
179
- if (already.has(msg)) return
180
- already.add(msg)
181
- console.log('Warning: ' + msg)
182
-}
183
-
177
export const pluginsMiddleware: Koa.Middleware = async (ctx, next) => {
178
const after: Dict<CallMeAfter> = {}
179
// run middleware plugins