Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Dec 2, 2022
1 parent 9939ca0 commit 96f07c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/swc_common/src/source_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ impl SourceMap {
src_id = builder.add_source(&config.file_name_to_source(&f.name));

inline_sources_content = config.inline_sources_content(&f.name);
if inline_sources_content && !orig.is_some() {
if inline_sources_content && orig.is_none() {
builder.set_source_contents(src_id, Some(&f.src));
}

Expand Down

0 comments on commit 96f07c5

Please sign in to comment.