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

lib: remove double check #7985

Closed
wants to merge 1 commit into from
Closed

Conversation

fhinkel
Copy link
Member

@fhinkel fhinkel commented Aug 5, 2016

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-bot nodejs-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

addaleax commented Aug 5, 2016

@cjihrig
Copy link
Contributor

cjihrig commented Aug 5, 2016

LGTM. CI is green.

@jbergstroem
Copy link
Member

LGTM

@mscdex
Copy link
Contributor

mscdex commented Aug 5, 2016

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

@jasnell
Copy link
Member

jasnell commented Aug 5, 2016

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 <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
@jasnell
Copy link
Member

jasnell commented Aug 8, 2016

Landed in 35109dd!

@jasnell jasnell closed this Aug 8, 2016
@cjihrig cjihrig 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 <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
@cjihrig cjihrig mentioned this pull request Aug 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
http Issues or PRs related to the http subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants