aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/config.go
diff options
context:
space:
mode:
authorAmine Hilaly <hilalyamine@gmail.com>2019-05-26 13:10:47 +0200
committerAmine Hilaly <hilalyamine@gmail.com>2019-05-29 22:58:01 +0200
commit99b6107487f25bccf91d78fa44d9fe9ab2e3ef01 (patch)
treeeae34534853179fcda7c266e94cdd16835206bae /bridge/github/config.go
parent1c146a1b678d11ef86840955a9195685d18e4a52 (diff)
downloadgit-bug-99b6107487f25bccf91d78fa44d9fe9ab2e3ef01.tar.gz
Disable `bridgeConfigure` sort flags option
rename `validateGithubURLRemotes` to `getValideGithubRemoteURLs`
Diffstat (limited to 'bridge/github/config.go')
-rw-r--r--bridge/github/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/github/config.go b/bridge/github/config.go
index dc1185b5..80fc9152 100644
--- a/bridge/github/config.go
+++ b/bridge/github/config.go
@@ -337,7 +337,7 @@ func promptUsername() (string, error) {
}
func promptURL(remotes map[string]string) (string, string, error) {
- validRemotes := valideGithubURLRemotes(remotes)
+ validRemotes := getValideGithubRemoteURLs(remotes)
if len(validRemotes) > 0 {
for {
fmt.Println("\nDetected projects:")
@@ -409,7 +409,7 @@ func splitURL(url string) (shortURL string, owner string, project string, err er
return res[0], res[1], res[2], nil
}
-func valideGithubURLRemotes(remotes map[string]string) []string {
+func getValideGithubRemoteURLs(remotes map[string]string) []string {
urls := make([]string, 0, len(remotes))
for _, url := range remotes {
// split url can work again with shortURL