fix: `tree` isn't allowed as a project name so `treepkg` should be used

This commit is contained in:
Mustafa Gezen 2021-04-12 00:08:42 +02:00
parent 09263c9f48
commit e1b4213dcc
1 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,10 @@ import (
var tagImportRegex *regexp.Regexp
func gitlabify(str string) string {
if str == "tree" {
return "treepkg"
}
return strings.Replace(str, "+", "plus", -1)
}