Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Aug 25, 2024
1 parent 739b576 commit 77f5963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/swc_ecma_transforms_proposal/src/decorator_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ impl DecoratorPass {
if let Some(brand_name) = &self.state.maybe_private_brand_name {
combined_args
.push(self.create_private_brand_check_closure(brand_name).as_arg());
} else if let Some(super_class) = &self.state.super_class {
} else if self.state.super_class.is_some() {
combined_args.push(Expr::undefined(DUMMY_SP).as_arg());
}

Expand Down

0 comments on commit 77f5963

Please sign in to comment.