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

Remove unused branches from fs #4795

Closed
wants to merge 1 commit into from
Closed

Conversation

benjamingr
Copy link
Member

In a few places the code was refactored to use maybeCallback which always returns a function. Checking for if (callback) always returns true anyway.

@mscdex mscdex added the fs Issues and PRs related to the fs subsystem / file system. label Jan 21, 2016
@cjihrig
Copy link
Contributor

cjihrig commented Jan 21, 2016

LGTM if the CI is happy

CI: https://ci.nodejs.org/job/node-test-pull-request/1341/

@thefourtheye
Copy link
Contributor

LGTM

@benjamingr
Copy link
Member Author

Any idea why the CI isn't happy? Doesn't seem related.

@cjihrig
Copy link
Contributor

cjihrig commented Jan 21, 2016

Just Jenkins being Jenkins. I just got a green build though, so trying again: https://ci.nodejs.org/job/node-test-pull-request/1347/

@jasnell
Copy link
Member

jasnell commented Jan 21, 2016

LGTM

In a few places the code was refactored to use `maybeCallback` which
always returns a function. Checking for `if (callback)` always returns true anyway.

PR-URL: nodejs#4795
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: thefourtheye <thechargingvolcano@gmail.com>
@benjamingr
Copy link
Member Author

Ok, fixed commit message as far as I'm concerned this can land and it got 3 LGTMs. Thanks for the fast feedback as always :)

@jasnell
Copy link
Member

jasnell commented Jan 22, 2016

Weird build bot failures happening in CI right now... just to be safe following the new commit, new CI run: https://ci.nodejs.org/job/node-test-pull-request/1351/

@benjamingr
Copy link
Member Author

@jasnell good idea. Passed.

silverwind pushed a commit that referenced this pull request Jan 23, 2016
In a few places the code was refactored to use `maybeCallback` which
always returns a function. Checking for `if (callback)` always returns
true anyway.

PR-URL: #4795
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: thefourtheye <thechargingvolcano@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
@silverwind
Copy link
Contributor

Thanks! Landed in c00d08f.

@benjamingr Thanks for pre-filling the review lines! I lowercased the commit title and wrapped the message body at 72 character, for reference. 😉

@silverwind silverwind closed this Jan 23, 2016
@benjamingr
Copy link
Member Author

@silverwind thanks, I totally forgot about that - been a while since I've been able to contribute a PR :)

rvagg pushed a commit that referenced this pull request Jan 25, 2016
In a few places the code was refactored to use `maybeCallback` which
always returns a function. Checking for `if (callback)` always returns
true anyway.

PR-URL: #4795
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: thefourtheye <thechargingvolcano@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
@MylesBorins
Copy link
Contributor

@benjamingr it looks like this PR is modifying a bunch of code paths that don't exist on v4.x-staging and thus we are getting a ton of conflicts.

Would you be willing to manually backport?

@benjamingr
Copy link
Member Author

@thealphanerd sure, do I just open a pull request against the v4 branch?

@MylesBorins
Copy link
Contributor

against v4.x-staging

scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
In a few places the code was refactored to use `maybeCallback` which
always returns a function. Checking for `if (callback)` always returns
true anyway.

PR-URL: nodejs#4795
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: thefourtheye <thechargingvolcano@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fs Issues and PRs related to the fs subsystem / file system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants