Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Aug 26, 2024
1 parent dde581f commit af2a9a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/swc_ecma_transforms_proposal/src/decorator_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ impl DecoratorPass {
combined_args.push((self.state.class_decorations_flag as f64).as_arg());
}

if let Some(super_class) = self.state.super_class {
combined_args.push(super_class.as_arg());
if let Some(super_class) = &self.state.super_class {
combined_args.push(super_class.clone().as_arg());
}

Box::new(
Expand Down

0 comments on commit af2a9a0

Please sign in to comment.