Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-timothy-albert committed Oct 8, 2024
1 parent 0517b0e commit 4d08c55
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions internal/environment/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,14 +205,6 @@ func GetInvokeTime() time.Time {
return invokeTime
}

func IsLanguagePublished(lang string) bool {
if lang == "go" || lang == "swift" {
return true
}

return os.Getenv(fmt.Sprintf("INPUT_PUBLISH_%s", strings.ToUpper(lang))) == "true"
}

func GetOpenAPIDocAuthHeader() string {
return os.Getenv("INPUT_OPENAPI_DOC_AUTH_HEADER")
}
Expand Down

0 comments on commit 4d08c55

Please sign in to comment.