mirror of
https://github.com/gabrie30/ghorg.git
synced 2025-08-06 14:27:28 +02:00
Update configs.go (#465)
This commit is contained in:
parent
bbc428735f
commit
d5c8781768
@ -300,6 +300,8 @@ func VerifyTokenSet() error {
|
||||
}
|
||||
|
||||
if scmProvider == "bitbucket" {
|
||||
if os.Getenv("GHORG_BITBUCKET_OAUTH_TOKEN") == "" {
|
||||
|
||||
if os.Getenv("GHORG_BITBUCKET_USERNAME") == "" {
|
||||
return ErrNoBitbucketUsername
|
||||
}
|
||||
@ -308,6 +310,7 @@ func VerifyTokenSet() error {
|
||||
return ErrNoBitbucketAppPassword
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user