-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't close grgit if it's not present
The previous change to leverage the reset task to set the grgit property meant that if reset doesn't run, the grgit property won't be set. Gradle doesn't let you access an unset property, so you get a failure like this: * What went wrong: No value has been specified for this provider. So we need to just do a safety check before trying to close grgit. This fixes #51, since a user confirmed the previous change resolved the origin not found scenario.
- Loading branch information
1 parent
ca1bcac
commit bbce438
Showing
2 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters