Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 authored Feb 1, 2023
1 parent 639fe81 commit 2f7cc44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function isJsonRequest(event: H3Event) {

export function normalizeError(error: any) {
// temp fix for https://github.com/unjs/nitro/issues/759
// @todo investigate vercel-edge not using unenv pollyfill
// TODO: investigate vercel-edge not using unenv pollyfill
const cwd = typeof process.cwd === "function" ? process.cwd() : "/";
const stack = ((error.stack as string) || "")
.split("\n")
Expand Down

0 comments on commit 2f7cc44

Please sign in to comment.