Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
janicklas-ralph committed Jan 8, 2021
1 parent 9fd0e72 commit eefc0fe
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/next/next-server/lib/post-process.ts
Expand Up @@ -82,10 +82,7 @@ async function processHTML(
for (let i = 0; i < middlewareRegistry.length; i++) {
let middleware = middlewareRegistry[i]
if (!middleware.condition || middleware.condition(options)) {
await callMiddleWare(
middlewareRegistry[i].middleware,
middlewareRegistry[i].name
)
await callMiddleWare(middlewareRegistry[i].middleware)
}
}

Expand Down

0 comments on commit eefc0fe

Please sign in to comment.