Skip to content

Commit

Permalink
Fix Golang complexity checks (#467)
Browse files Browse the repository at this point in the history
Go does not have a "while" statement.
Go has "select" statements work like "switch", add this to checks.
  • Loading branch information
apocelipes authored May 24, 2024
1 parent eda081d commit 1706488
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3206,7 +3206,7 @@
"if ",
"if(",
"switch ",
"while ",
"select ",
"else ",
"|| ",
"&& ",
Expand Down
2 changes: 1 addition & 1 deletion processor/constants.go

Large diffs are not rendered by default.

0 comments on commit 1706488

Please sign in to comment.