-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor: Allow safely checking for repo in GrgitService
Service creation throws if the repo does not exist. Instead we should defer this to when you get the Grgit instance from the service. Additionally, we add a findGrgit() that catches exceptions so a user can safely check if a repo is present for that service. Fixes #362
- Loading branch information
1 parent
3f40370
commit 414faa1
Showing
2 changed files
with
62 additions
and
17 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