refactor: Use ===
This commit is contained in:
parent
fef5ec874b
commit
d4a630902d
39 changed files with 69 additions and 69 deletions
|
|
@ -54,7 +54,7 @@ module.exports = (server: http.Server) => {
|
|||
});
|
||||
|
||||
connection.on('message', async (data) => {
|
||||
if (data.utf8Data == 'ping') {
|
||||
if (data.utf8Data === 'ping') {
|
||||
connection.send('pong');
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue