Skip to content

Commit 6d9a7f7

Browse files
committed
PR reivew
1 parent 5c08507 commit 6d9a7f7

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

packages/core/src/utils/debug-ids.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,12 @@ export function getDebugImagesForResources(
114114
const images: DebugImage[] = [];
115115
for (const path of resource_paths) {
116116
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-
}
117+
if (normalizedPath && filenameDebugIdMap[normalizedPath]) {
118+
images.push({
119+
type: 'sourcemap',
120+
code_file: path,
121+
debug_id: filenameDebugIdMap[normalizedPath],
122+
});
125123
}
126124
}
127125

0 commit comments

Comments
 (0)