Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: fix type error
  • Loading branch information
sapphi-red committed May 13, 2025
commit 71dd4d6829466aca815feea39690d1a2e82c8467
2 changes: 1 addition & 1 deletion packages/vite/src/module-runner/sourcemap/interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ function wrapCallSite(frame: CallSite, state: State) {
return name === 'eval' && '_vite' in position ? null : name
}
frame.getFileName = function () {
return position.source ?? undefined
return position.source ?? null
}
frame.getLineNumber = function () {
return position.line
Expand Down