Skip to content

Commit

Permalink
fix: fmt issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvxa committed Jun 6, 2024
1 parent 0403763 commit 3f63c65
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions crates/oxc_semantic/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -958,11 +958,7 @@ impl<'a> Visit<'a> for SemanticBuilder<'a> {

self.cfg.add_edge(after_consequent_stmt_graph_ix, after_if_graph_ix, EdgeType::Normal);

self.cfg.add_edge(
before_if_stmt_graph_ix,
before_consequent_stmt_graph_ix,
EdgeType::Jump,
);
self.cfg.add_edge(before_if_stmt_graph_ix, before_consequent_stmt_graph_ix, EdgeType::Jump);

if let Some((start_of_alternate_stmt_graph_ix, after_alternate_stmt_graph_ix)) =
else_graph_ix
Expand Down

0 comments on commit 3f63c65

Please sign in to comment.