Skip to content

Commit 6ac898b

Browse files
committed
add desugered to the typo database
1 parent 0d4419d commit 6ac898b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

javascript/ql/src/Expressions/TypoDatabase.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2543,6 +2543,8 @@ predicate typos(string wrong, string right) {
25432543
or
25442544
wrong = "destory" and right = "destroy"
25452545
or
2546+
wrong = "desugered" and right = "desugared"
2547+
or
25462548
wrong = "detailled" and right = "detailed"
25472549
or
25482550
wrong = "detatched" and right = "detached"

ql/ql/src/codeql_ql/style/TypoDatabase.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2543,6 +2543,8 @@ predicate typos(string wrong, string right) {
25432543
or
25442544
wrong = "destory" and right = "destroy"
25452545
or
2546+
wrong = "desugered" and right = "desugared"
2547+
or
25462548
wrong = "detailled" and right = "detailed"
25472549
or
25482550
wrong = "detatched" and right = "detached"

0 commit comments

Comments
 (0)