Skip to content

Conversation

@fhinkel
Copy link
Member

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

lib

Description of change

checkIsHttpToken() already checks for typeof string. We do not
want to check twice.

checkIsHttpToken() already checks for typeof string. We do not want to check twice.
@nodejs-github-botnodejs-github-bot added the http Issues or PRs related to the http subsystem. label Aug 5, 2016
@bnoordhuis
Copy link
Member

LGTM

@addaleax
Copy link
Member

@cjihrig
Copy link
Contributor

LGTM. CI is green.

@jbergstroem
Copy link
Member

LGTM

@mscdex
Copy link
Contributor

The commit message should target http instead of lib, but otherwise LGTM.

@jasnell
Copy link
Member

LGTM.

although this removes an error, it's one that should have already been hidden by the other check, so this wouldn't be a semver-major at all... +1!

jasnell pushed a commit that referenced this pull request Aug 8, 2016
checkIsHttpToken() already checks for typeof string. We do not want to check twice. PR-URL: #7985 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Brian White <[email protected]> Reviewed-By: James M Snell <[email protected]>
@jasnell
Copy link
Member

Landed in 35109dd!

@jasnelljasnell closed this Aug 8, 2016
@cjihrigcjihrig mentioned this pull request Aug 8, 2016
cjihrig pushed a commit that referenced this pull request Aug 10, 2016
checkIsHttpToken() already checks for typeof string. We do not want to check twice. PR-URL: #7985 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Brian White <[email protected]> Reviewed-By: James M Snell <[email protected]>
@cjihrigcjihrig mentioned this pull request Aug 11, 2016
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

httpIssues or PRs related to the http subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@fhinkel@bnoordhuis@addaleax@cjihrig@jbergstroem@mscdex@jasnell@MylesBorins@nodejs-github-bot