mirror of
https://github.com/outbackdingo/ghorg.git
synced 2026-01-27 02:18:56 +00:00
Update configs.go (#465)
This commit is contained in:
@@ -300,12 +300,15 @@ func VerifyTokenSet() error {
|
||||
}
|
||||
|
||||
if scmProvider == "bitbucket" {
|
||||
if os.Getenv("GHORG_BITBUCKET_USERNAME") == "" {
|
||||
return ErrNoBitbucketUsername
|
||||
}
|
||||
if os.Getenv("GHORG_BITBUCKET_OAUTH_TOKEN") == "" {
|
||||
|
||||
if os.Getenv("GHORG_BITBUCKET_APP_PASSWORD") == "" {
|
||||
return ErrNoBitbucketAppPassword
|
||||
if os.Getenv("GHORG_BITBUCKET_USERNAME") == "" {
|
||||
return ErrNoBitbucketUsername
|
||||
}
|
||||
|
||||
if os.Getenv("GHORG_BITBUCKET_APP_PASSWORD") == "" {
|
||||
return ErrNoBitbucketAppPassword
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user