Skip to content

Commit

Permalink
Fix lints.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Apr 19, 2024
1 parent e47a3bd commit 7775590
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tasks/transform_conformance/src/test_case.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ fn transform_options(options: &BabelOptions) -> serde_json::Result<TransformOpti
react_options
};

let mut es2022 = Es2022Options::default();
es2022.class_static_block_plugin = options.get_plugin("transform-class-static-block").is_some();
let es2022 = Es2022Options {
class_static_block_plugin: options.get_plugin("transform-class-static-block").is_some(),
};

Ok(TransformOptions {
cwd: options.cwd.clone().unwrap(),
Expand Down

0 comments on commit 7775590

Please sign in to comment.