Skip to content

Commit 830eb48

Browse files
authored
fix: dead loop when cheap-module-source-map (#38)
1 parent 4460f02 commit 830eb48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/helpers.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,7 @@ fn stream_chunks_of_source_map_lines_full(
859859
original: None,
860860
},
861861
);
862+
current_generated_line += 1;
862863
}
863864
let last_line = lines[lines.len() - 1];
864865
let last_new_line = last_line.ends_with('\n');

0 commit comments

Comments
 (0)