MCPcopy Create free account
hub / github.com/auth0/auth0-cli / excludeEmptyEntries

Function excludeEmptyEntries

internal/cli/apps.go:1100–1109  ·  view source on GitHub ↗
(s []string)

Source from the content-addressed store, hash-verified

1098}
1099
1100func excludeEmptyEntries(s []string) []string {
1101 result := make([]string, 0, len(s))
1102 for _, v := range s {
1103 if v != "" {
1104 result = append(result, v)
1105 }
1106 }
1107
1108 return result
1109}
1110
1111func (c *cli) appPickerOptions(requestOpts ...management.RequestOption) pickerOptionsFunc {
1112 requestOpts = append(requestOpts, management.Parameter("is_global", "false"))

Callers 2

updateAppCmdFunction · 0.85
TestFilterEmptyStringsFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestFilterEmptyStringsFunction · 0.68