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

fix internal to handle error #1

Merged
merged 1 commit into from
Apr 15, 2020
Merged

fix internal to handle error #1

merged 1 commit into from
Apr 15, 2020

Conversation

d-tsuji
Copy link
Contributor

@d-tsuji d-tsuji commented Apr 15, 2020

Description of changes:
A fix that explicitly handles err.

If we run git-credential-substitute in a location where the .git directory doesn't exist, we get an error. In that case, we can explicitly set path.Base(pwd) to gitOrgName .

Copy link
Owner

@sadayuki-matsuno sadayuki-matsuno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM, thank you for the PR @d-tsuji

@sadayuki-matsuno sadayuki-matsuno merged commit 1a76fab into sadayuki-matsuno:master Apr 15, 2020
@d-tsuji d-tsuji deleted the patch branch April 15, 2020 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants