1
1
mirror of https://github.com/cooperspencer/gickup synced 2024-09-18 23:01:35 +02:00

forgot to push bitbucket

This commit is contained in:
Andreas Wachter 2021-12-13 08:52:03 +01:00
parent 5a434573a8
commit b3246acd1e

View File

@ -17,7 +17,7 @@ func Get(conf *types.Conf) []types.Repo {
} else {
bitbucketUrl, err := url.Parse(repo.Url)
if err != nil {
log.Panic().Str("stage", "bitbucket").Str("url", repo.Url).Msg(err.Error())
log.Fatal().Str("stage", "bitbucket").Str("url", repo.Url).Msg(err.Error())
}
client.SetApiBaseURL(*bitbucketUrl)
}
@ -25,7 +25,7 @@ func Get(conf *types.Conf) []types.Repo {
repositories, err := client.Repositories.ListForAccount(&bitbucket.RepositoriesOptions{Owner: repo.User})
if err != nil {
log.Panic().Str("stage", "bitbucket").Str("url", repo.Url).Msg(err.Error())
log.Fatal().Str("stage", "bitbucket").Str("url", repo.Url).Msg(err.Error())
}
exclude := types.GetExcludedMap(repo.Exclude)