Skip to content

Duplicate lines of code in Connection.js #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
babakness opened this issue Feb 8, 2017 · 1 comment
Open

Duplicate lines of code in Connection.js #25

babakness opened this issue Feb 8, 2017 · 1 comment

Comments

@babakness
Copy link

babakness commented Feb 8, 2017

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?

@babakness babakness changed the title Seemingly redundant code Duplicate lines of code in Connection.js Feb 8, 2017
@mikemintz
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants