normalizeExtension makes sure that the provided extension name is prefixed with "gh-".
(name string)
| 883 | |
| 884 | // normalizeExtension makes sure that the provided extension name is prefixed with "gh-". |
| 885 | func normalizeExtension(name string) string { |
| 886 | if !strings.HasPrefix(name, "gh-") { |
| 887 | name = "gh-" + name |
| 888 | } |
| 889 | return name |
| 890 | } |
no outgoing calls