Skip to content

Commit

Permalink
Update bitbucket.go
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrie30 committed Oct 18, 2024
1 parent 53b3577 commit 14ec714
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scm/bitbucket.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package scm

import (
"net/url"
"strings"

"os"
Expand Down Expand Up @@ -63,8 +62,7 @@ func (_ Bitbucket) NewClient() (Client, error) {
}

if os.Getenv("GHORG_SCM_BASE_URL") != "" {
u, _ := url.Parse(os.Getenv("GHORG_SCM_BASE_URL"))
c.SetApiBaseURL(*u)
colorlog.PrintErrorAndExit("Self hosted Bitbucket instances are not supported at this time.")
}

return Bitbucket{c}, nil
Expand Down

0 comments on commit 14ec714

Please sign in to comment.