Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jan 24, 2025
1 parent 16df060 commit 1104e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_transformer/src/decorator/legacy_decorator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl<'a> LegacyDecorator<'a, '_> {
) {
let Statement::ExportDefaultDeclaration(export) = stmt else { unreachable!() };
let ExportDefaultDeclarationKind::ClassDeclaration(class) = &mut export.declaration else {
return
return;
};

let Some((class_binding, new_stmt)) = self.transform_class_impl(class, ctx) else { return };
Expand Down

0 comments on commit 1104e05

Please sign in to comment.