Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Oct 17, 2024
1 parent e982936 commit de79736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite-node/src/source-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function withInlineSourcemap(
// If the first line is not present on source maps, add simple 1:1 mapping ([0,0,0,0], [1,0,0,0])
// so that debuggers can be set to break on first line
// This seems to affect coverage, so this is injected only for Vitest cli `--inspect-brk` usage.
if (map.mappings.startsWith(';') && process.argv.includes("--inspect-brk")) {
if (map.mappings.startsWith(';') && process.argv.includes('--inspect-brk')) {
map.mappings = `AAAA,CAAA${map.mappings}`
}

Expand Down

0 comments on commit de79736

Please sign in to comment.