refactor: Use ===

This commit is contained in:
syuilo 2020-04-04 08:46:54 +09:00
parent fef5ec874b
commit d4a630902d
39 changed files with 69 additions and 69 deletions

View file

@ -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');
}
});