We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent daf287e commit a65cc05Copy full SHA for a65cc05
cmd/root.go
@@ -98,7 +98,7 @@ func getHostname() string {
98
hostname = parsedURL.Hostname()
99
} else {
100
// Use the predefined hostname based on the SCM type
101
- hostname = configs.GetScmTypeHostnames()
+ hostname = configs.GetCloudScmTypeHostnames()
102
}
103
104
return hostname
configs/configs.go
@@ -312,7 +312,7 @@ func VerifyTokenSet() error {
312
return nil
313
314
315
-func GetScmTypeHostnames() string {
+func GetCloudScmTypeHostnames() string {
316
switch os.Getenv("GHORG_SCM_TYPE") {
317
case "github":
318
return "github.com"
0 commit comments