Embrace Errors#53
Closed
eriktrom wants to merge 4 commits into
Closed
Conversation
ro0gr
reviewed
Mar 8, 2017
| process.kill(child.pid); | ||
| callback(null, "timeout"); | ||
| }, 10000); // 10 seconds | ||
| }, 20000); // 10 seconds |
Member
Author
|
Checklist
|
ro0gr
reviewed
Mar 15, 2017
| hiddenButImportantHost = '0.0.0.0', // !important - dont remove, hence the naming :) | ||
| results = [hiddenButImportantHost]; | ||
| hiddenButImportantHost = ['0.0.0.0', '::'], // !important - dont remove, hence the naming :) | ||
| results = [].concat(hiddenButImportantHost); |
There was a problem hiding this comment.
Do we need this concat? Looks like assignment should be sufficient
results = ['0.0.0.0', '::']|
I've tried it locally and have the following error I'm on win10. |
Member
Author
|
@ro0gr - hey appreciate u taking the time to test it out. Regarding the error with 0.0.0.0 - I'm considering taking that out along with '::'. Did u try that by any chance? Either way thanks a bunch for ur feedback. |
…ature/embrace-the-errorz * 'master' of github.com:indexzero/node-portfinder: Make test close listening sockets instead of just removing them
Member
Author
|
closing - will re-open if such codez are needed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.