File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,9 @@ import (
44 "fmt"
55 rtUtils "github.com/jfrog/jfrog-cli-core/v2/artifactory/utils"
66 "github.com/jfrog/jfrog-cli-core/v2/utils/config"
7- "github.com/jfrog/jfrog-cli-core/v2/utils/coreutils"
87 "github.com/jfrog/jfrog-client-go/access/services"
98 "github.com/jfrog/jfrog-client-go/auth"
109 "github.com/jfrog/jfrog-client-go/utils/log"
11- "os"
1210 "strings"
1311)
1412
@@ -34,8 +32,7 @@ func (p OidcProviderType) String() string {
3432func OidcProviderTypeFromString (providerType string ) (OidcProviderType , error ) {
3533 if providerType == "" {
3634 // If no provider type is provided, return 0 (GitHub) as default
37- // And export env var for future use
38- return 0 , os .Setenv (coreutils .OidcProviderType , GitHub .String ())
35+ return 0 , nil
3936 }
4037 switch strings .ToLower (providerType ) {
4138 case strings .ToLower (GitHub .String ()):
You can’t perform that action at this time.
0 commit comments