Skip to content
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

net: remove an unused internal module assertPort #11812

Closed
wants to merge 1 commit into from

Conversation

watilde
Copy link
Contributor

@watilde watilde commented Mar 12, 2017

Since a module assertPort in lib/internal/net.js is not used anymore, we can remove it. The coverage of lib/internal/net.js will be 100% with this.

See also: #11667

Checklist
  • make -j4 test
  • commit message follows commit guidelines
Affected core subsystem(s)

net

A module `assertPort` in `lib/internal/net.js` is not used anymore.

Refs: nodejs#11667
@nodejs-github-bot nodejs-github-bot added the net Issues and PRs related to the net subsystem. label Mar 12, 2017
@JacksonTian
Copy link
Contributor

LGTM

@mscdex
Copy link
Contributor

mscdex commented Mar 12, 2017

@watilde
Copy link
Contributor Author

watilde commented Mar 13, 2017

Probably, the CI errors caused by the same reason with this: #11817 (comment). I will retry it.

@watilde
Copy link
Contributor Author

watilde commented Mar 13, 2017

@watilde
Copy link
Contributor Author

watilde commented Mar 14, 2017

Landed in 879d666

@watilde watilde closed this Mar 14, 2017
@watilde watilde deleted the feature/assertPort branch March 14, 2017 17:57
watilde added a commit that referenced this pull request Mar 14, 2017
A module `assertPort` in `lib/internal/net.js` is not used anymore.

Refs: #11667
PR-URL: #11812
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
jungx098 pushed a commit to jungx098/node that referenced this pull request Mar 21, 2017
A module `assertPort` in `lib/internal/net.js` is not used anymore.

Refs: nodejs#11667
PR-URL: nodejs#11812
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
@italoacasas
Copy link
Contributor

This PR needs backport to v7

@jasnell jasnell mentioned this pull request Apr 4, 2017
watilde added a commit to watilde/node that referenced this pull request May 5, 2017
A module `assertPort` in `lib/internal/net.js` is not used anymore.

Refs: nodejs#11667
PR-URL: nodejs#11812
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
watilde added a commit that referenced this pull request May 12, 2017
A module `assertPort` in `lib/internal/net.js` is not used anymore.

Refs: #11667
PR-URL: #11812
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
@gibfahn gibfahn mentioned this pull request Jun 15, 2017
3 tasks
@gibfahn
Copy link
Member

gibfahn commented Jun 17, 2017

@watilde should this be backported to v6.x? 33ea7a2 applies cleanly, so if it should I'll cherry-pick it directly.

@MylesBorins
Copy link
Contributor

ping @watilde

1 similar comment
@MylesBorins
Copy link
Contributor

ping @watilde

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
net Issues and PRs related to the net subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.