Skip to content

Commit d4f3b10

Browse files
committed
fmt
1 parent 1fec35a commit d4f3b10

File tree

1 file changed

+4
-2
lines changed
  • crates/swc_ecma_minifier/src/compress/pure

1 file changed

+4
-2
lines changed

crates/swc_ecma_minifier/src/compress/pure/misc.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,11 +598,13 @@ impl Pure<'_> {
598598
if let Some(ExprOrSpread { spread: None, expr }) = elem {
599599
match &*expr {
600600
e if is_pure_undefined(self.expr_ctx, e) => {
601-
// null and undefined should become empty strings in join
601+
// null and undefined should become empty strings in
602+
// join
602603
// Don't add anything for empty string join
603604
}
604605
Expr::Lit(Lit::Null(..)) => {
605-
// null and undefined should become empty strings in join
606+
// null and undefined should become empty strings in
607+
// join
606608
// Don't add anything for empty string join
607609
}
608610
_ => {

0 commit comments

Comments
 (0)