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 5c08507 commit 6d9a7f7Copy full SHA for 6d9a7f7
1 file changed
packages/core/src/utils/debug-ids.ts
@@ -114,14 +114,12 @@ export function getDebugImagesForResources(
114
const images: DebugImage[] = [];
115
for (const path of resource_paths) {
116
const normalizedPath = normalizeStackTracePath(path);
117
- if (normalizedPath) {
118
- if (filenameDebugIdMap[normalizedPath]) {
119
- images.push({
120
- type: 'sourcemap',
121
- code_file: path,
122
- debug_id: filenameDebugIdMap[normalizedPath],
123
- });
124
- }
+ if (normalizedPath && filenameDebugIdMap[normalizedPath]) {
+ images.push({
+ type: 'sourcemap',
+ code_file: path,
+ debug_id: filenameDebugIdMap[normalizedPath],
+ });
125
}
126
127
0 commit comments