mikemintz / rethinkdb-websocket-server

Node.js WebSocket server that proxies to RethinkDB. Supports query validation.
MIT License
156 stars 22 forks source link

Duplicate lines of code in Connection.js #25

Open babakness opened 7 years ago

babakness commented 7 years ago

When looking around this code I noticed a duplicate

https://github.com/mikemintz/rethinkdb-websocket-server/blob/master/src/Connection.js#L29 https://github.com/mikemintz/rethinkdb-websocket-server/blob/master/src/Connection.js#L45

Perhaps I'm missing something here?

mikemintz commented 7 years ago

Good catch! Feel free to open a PR removing the second line.