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
Suspected dead code in listenPromise #1099
Labels
internals
Change that won't impact the surface API.
Comments
Go ahead and remove it, it seems a duplicate! |
Yes it should. Actually, would you mind to refactor that check in just one place? |
2 tasks
Fix posted in PR #1102 |
mcollina
pushed a commit
that referenced
this issue
Aug 26, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have already researched for similiar issues?
Yes
Are you sure this is an issue with the fastify or are you just looking for some help?
This seems to be a dead code in fastify
Is this a security related issue?
No
What are you trying to achieve or the steps to reproduce?
I was trying to add a test for covering the following line
fastify/fastify.js
Line 314 in 6bce249
I noticed that the address can never be undefined as it's set to
'127.0.0.1'
is calling functionfastify/fastify.js
Lines 347 to 359 in 6bce249
What did you expect?
Is the check on the following line redundant?
fastify/fastify.js
Line 314 in 6bce249
The text was updated successfully, but these errors were encountered: