We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95b13d5 commit 236f8d7Copy full SHA for 236f8d7
packages/integrations/src/rewriteframes.ts
@@ -30,7 +30,7 @@ export class RewriteFrames implements Integration {
30
// Check if the frame filename begins with `/` or a Windows-style prefix such as `C:\`
31
const isWindowsFrame = /^[A-Z]:\\/.test(frame.filename);
32
const startsWithSlash = /^\//.test(frame.filename);
33
- if (frame.filename && (isWindowsFrame || startsWithSlash)) {
+ if (isWindowsFrame || startsWithSlash) {
34
const filename = isWindowsFrame
35
? frame.filename
36
.replace(/^[A-Z]:/, '') // remove Windows-style prefix
0 commit comments