normalizeExtension makes sure that the provided extension name is prefixed with "gh-".
(name string)
| 878 | |
| 879 | // normalizeExtension makes sure that the provided extension name is prefixed with "gh-". |
| 880 | func normalizeExtension(name string) string { |
| 881 | if !strings.HasPrefix(name, "gh-") { |
| 882 | name = "gh-" + name |
| 883 | } |
| 884 | return name |
| 885 | } |
no outgoing calls