diff --git a/bridge/github/config.go b/bridge/github/config.go index a9a25ec07e07eba37d10da2e49ae380781c4af22..5aced56fe726b0bd299666d8730864e83e291f66 100644 --- a/bridge/github/config.go +++ b/bridge/github/config.go @@ -558,12 +558,12 @@ func promptProjectVisibility() (bool, error) { line = strings.TrimRight(line, "\n") index, err := strconv.Atoi(line) - if err != nil || (index != 0 && index != 1) { + if err != nil || (index != 1 && index != 2) { fmt.Println("invalid input") continue } // return true for public repositories, false for private - return index == 0, nil + return index == 1, nil } }