mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
JS: Update OK-style comments to $-style
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
for (var i=0; i<10; ++i) {
|
||||
// NOT OK
|
||||
for (var j=i; i>5; --i)
|
||||
for (var j=i; i>5; --i) // $ Alert
|
||||
f(i, j);
|
||||
|
||||
// OK
|
||||
|
||||
for (var k=0; k<i; ++k)
|
||||
f(i, k);
|
||||
}
|
||||
Reference in New Issue
Block a user