Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Feb 1, 2023
1 parent 003b8de commit 639fe81
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 @@ -49,7 +49,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
const cwd = typeof process.cwd === 'function' ? process.cwd() : '/';
const cwd = typeof process.cwd === "function" ? process.cwd() : "/";
const stack = ((error.stack as string) || "")
.split("\n")
.splice(1)
Expand Down

0 comments on commit 639fe81

Please sign in to comment.