Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 12, 2023
1 parent bc7cb64 commit a07c98d
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -553,12 +553,7 @@ impl Check for ShouldWork {
#[tracing::instrument(level = "info", skip_all)]
fn handle_await_for(stmt: &mut Stmt, is_async_generator: bool) {
let s = match stmt {
Stmt::ForOf(
s @ ForOfStmt {
await_token: Some(..),
..
},
) => s.take(),
Stmt::ForOf(s @ ForOfStmt { is_await: true, .. }) => s.take(),
_ => return,
};

Expand Down

0 comments on commit a07c98d

Please sign in to comment.