From cecdf30b6a24ac851d2aa1cb314377692c9f1391 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 04:34:48 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../src/ast_passes/peephole_substitute_alternate_syntax.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/oxc_minifier/src/ast_passes/peephole_substitute_alternate_syntax.rs b/crates/oxc_minifier/src/ast_passes/peephole_substitute_alternate_syntax.rs index f84a2aad1eb15..aec49e14c6760 100644 --- a/crates/oxc_minifier/src/ast_passes/peephole_substitute_alternate_syntax.rs +++ b/crates/oxc_minifier/src/ast_passes/peephole_substitute_alternate_syntax.rs @@ -866,8 +866,7 @@ impl<'a, 'b> PeepholeSubstituteAlternateSyntax { None => Some(ctx.ast.expression_string_literal(span, "", None)), // `String(a)` -> `'' + (a)` Some(arg) => { - if !arg.is_literal() - { + if !arg.is_literal() { return None; } Some(ctx.ast.expression_binary(