mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
js: Inline expectation should have space after $
This was a regex-find-replace from `// \$(?! )` (using a negative lookahead) to `// $ `.
This commit is contained in:
@@ -3,12 +3,12 @@ const WebSocket = require('ws');
|
||||
(function () {
|
||||
const wss = new WebSocket.Server({ port: 8080 });
|
||||
|
||||
wss.on('connection', function connection(ws) { // $serverSocket
|
||||
ws.on('message', function incoming(message) { // $remoteFlow
|
||||
wss.on('connection', function connection(ws) { // $ serverSocket
|
||||
ws.on('message', function incoming(message) { // $ remoteFlow
|
||||
console.log('received: %s', message);
|
||||
}); // $serverReceive
|
||||
}); // $ serverReceive
|
||||
|
||||
ws.send('Hi from server!'); // $serverSend
|
||||
ws.send('Hi from server!'); // $ serverSend
|
||||
});
|
||||
})();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user