mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Update code to fix or document false positives for CodeQL warnings.
This commit is contained in:
parent
f1f6868a2c
commit
aa7fbce2dd
3 changed files with 7 additions and 2 deletions
|
|
@ -809,10 +809,10 @@ tape("readme", (test) => {
|
|||
) {
|
||||
if (!seenRelated) {
|
||||
seenRelated = true;
|
||||
} else if (seenRelated && !seenRules) {
|
||||
} else if (!seenRules) {
|
||||
seenRules = true;
|
||||
inRules = true;
|
||||
} else if (seenRelated && seenRules && !seenTags) {
|
||||
} else if (!seenTags) {
|
||||
seenTags = true;
|
||||
inTags = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue