-
Notifications
You must be signed in to change notification settings - Fork 536
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
Fix Git module config method #399
Fix Git module config method #399
Conversation
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
The Git module config method when used via `include Git` does not work as the `lambda` requires parameters to be present and the second part of condition in Git::Lib::config_get calls the lambda without any params, switching to `Proc.new` fixes the problem. Signed-off-by: Michal Papis <michal.papis@toptal.com>
79eceaa
to
5b12f82
Compare
tests are passing, the code is rebased, anything else I should do? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
still waiting for the review |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
still waiting for the review |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
still waiting for the review |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
still waiting for the review |
A friendly reminder that this issue had no activity for 60 days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have reviewed this change and it looks good. Thank you!
Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.
Description
The Git module config method when used via
include Git
does not workas the
lambda
requires parameters to be present and the second part ofcondition in Git::Lib::config_get calls the lambda without any params,
switching to
Proc.new
fixes the problem.