Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Apr 4, 2023
1 parent 9610499 commit d76eb6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/swc_ecma_usage_analyzer/src/analyzer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ where

let id = id.to_id();

match init {
match &**init {
Expr::Call(call) => {
let can_ignore = call.span.has_mark(marks.pure);

Expand Down

0 comments on commit d76eb6a

Please sign in to comment.