Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix: remove unneeded condition
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Sep 20, 2022
1 parent 25ee725 commit b28e5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt/src/core/runtime/nitro/plugins/debug.ts
@@ -1,6 +1,6 @@
import type { NitroAppPlugin } from 'nitropack'

const wrapName = (event: string) => process.server ? `[nitro] ${event}` : event
const wrapName = (event: string) => `[nitro] ${event}`

export default <NitroAppPlugin> function (nitro) {
nitro.hooks.beforeEach(({ name }) => {
Expand Down

0 comments on commit b28e5b3

Please sign in to comment.