Add default values for settings (#455)
* add default values for settings * more default values * more default settings and labels resource * mv locale to options
This commit is contained in:
parent
ec1fe1183d
commit
a822bba3e1
6 changed files with 154 additions and 24 deletions
|
@ -843,6 +843,8 @@ func getRepoInitFile(tp, name string) ([]byte, error) {
|
|||
return options.Gitignore(cleanedName)
|
||||
case "license":
|
||||
return options.License(cleanedName)
|
||||
case "label":
|
||||
return options.Labels(cleanedName)
|
||||
default:
|
||||
return []byte{}, fmt.Errorf("Invalid init file type")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue