Skip to content

Commit

Permalink
chore: rm useless check
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Dec 11, 2023
1 parent 711388b commit 9593f0c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crates/fmt/src/formatter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1667,10 +1667,6 @@ impl<'a, W: Write> Formatter<'a, W> {
}
}

if group.len() == 1 {
continue;
}

import_directives.sort_by_cached_key(|item| match item {
SourceUnitPart::ImportDirective(import) => match import {
Import::Plain(path, _) => path.to_string(),
Expand Down

0 comments on commit 9593f0c

Please sign in to comment.