Skip to content

Commit

Permalink
add token_file to bitbucket
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperspencer committed Aug 20, 2024
1 parent c2aefbe commit de298a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bitbucket/bitbucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func Get(conf *types.Conf) ([]types.Repo, bool) {
repos := []types.Repo{}
for _, repo := range conf.Source.BitBucket {
ran = true
repo.Token = repo.GetToken()
if repo.Token != "" && repo.Password == "" {
repo.Password = repo.Token
}
Expand Down

0 comments on commit de298a1

Please sign in to comment.