Skip to content

Commit

Permalink
fix(snippet): should emit only one diagnostic (#2650)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sec-ant committed Apr 29, 2024
1 parent 8f9c14a commit 47489cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ declare_rule! {
/// var a = undefined;
/// ```
/// ```js,expect_diagnostic
/// let b = undefined, c = 1, d = undefined;
/// let b = undefined, c = 1, d = 2;
/// ```
/// ```js,expect_diagnostic
/// for (let i = 0; i < 100; i++) {
Expand Down

0 comments on commit 47489cc

Please sign in to comment.