Skip to content

Commit 67dea94

Browse files
authored
Fix eslint issue (#5698)
1 parent dcfbd69 commit 67dea94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compiler/utils/string_with_sourcemap.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,9 @@ export function combine_sourcemaps(
227227
if (sourcefile === filename && sourcemap_list[map_idx]) {
228228
return sourcemap_list[map_idx++]; // idx 1, 2, ...
229229
// bundle file = branch node
230+
} else {
231+
return null; // source file = leaf node
230232
}
231-
else return null; // source file = leaf node
232233
} as SourceMapLoader,
233234
true
234235
);

0 commit comments

Comments
 (0)