Skip to content

net: remove an unused internal module assertPort#11812

Closed
watilde wants to merge 1 commit into
nodejs:masterfrom
watilde:feature/assertPort
Closed

net: remove an unused internal module assertPort#11812
watilde wants to merge 1 commit into
nodejs:masterfrom
watilde:feature/assertPort

Conversation

@watilde

@watilde watilde commented Mar 12, 2017

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor

LGTM

@mscdex

mscdex commented Mar 12, 2017

Copy link
Copy Markdown
Contributor

@watilde

watilde commented Mar 13, 2017

Copy link
Copy Markdown
Member Author

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

@watilde

watilde commented Mar 13, 2017

Copy link
Copy Markdown
Member Author

@watilde

watilde commented Mar 14, 2017

Copy link
Copy Markdown
Member Author

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
Copy Markdown

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

gibfahn commented Jun 17, 2017

Copy link
Copy Markdown
Member

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

@MylesBorins

Copy link
Copy Markdown
Contributor

ping @watilde

1 similar comment
@MylesBorins

Copy link
Copy Markdown
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.