-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ✨ Add support for SSH URL Due to net/url not parsing any ssh URL, gut would fail to use ssh. All input validations wasn't working. To fix this, gut now uses "whilp/git-urls" to validate URL * 🐛 Fix path issue with cloning ssh repo getRepoNameFromURL determines in which folder the repo must be cloned according to the URL But the net/url package doesn't work well with ssh URL If net/url returned an error, gut would fall back to the current directory. To fix that, getRepoNameFromURL uses a new package "whilp/git-urls" to parse the URL. Repos are now cloned in the right directory
- Loading branch information
Showing
4 changed files
with
80 additions
and
6 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
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