mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
JS: Update OK-style comments to $-style
This commit is contained in:
@@ -26,8 +26,7 @@ fs.exists(fileName, function (exists) {
|
||||
res.setEncoding('utf8');
|
||||
});
|
||||
|
||||
// BAD: write data from file to request body
|
||||
req.write(chunk);
|
||||
req.write(chunk); // $ Alert - write data from file to request body
|
||||
|
||||
req.end();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user