-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid ubuntu git repo check exception on missing directory (#160)
* fix: avoid ubuntu git repo check exception on missing directory If the directory doesn't exist, there is no need to execute the `git rev-parse --is-inside-work-tree` command, we can just return false from the check command. This silences an exception being thrown and logged on every initial run, thereby reducing support questions. Signed-off-by: Weston Steimel <[email protected]> * chore: more info-level logging for ubuntu Signed-off-by: Weston Steimel <[email protected]> --------- Signed-off-by: Weston Steimel <[email protected]>
- Loading branch information
1 parent
7efe585
commit 3fa64a2
Showing
2 changed files
with
13 additions
and
4 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