Skip to content

Commit

Permalink
refactor(sourcemap): lower the msrv. (#4873)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvxa committed Aug 13, 2024
1 parent a226962 commit 5fd1701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_sourcemap/src/concat_sourcemap_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl ConcatSourceMapBuilder {
// than cloning an `Arc`.
self.source_contents.extend(source_contents.iter().map(Arc::clone));
} else {
self.source_contents.extend((0..sourcemap.sources.len()).map(|_| Arc::default()));
self.source_contents.extend((0..sourcemap.sources.len()).map(|_| "".into()));
}

// Extend `names`.
Expand Down

0 comments on commit 5fd1701

Please sign in to comment.