chore: run formatter
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
decentral1se 2021-09-17 07:38:38 +02:00
parent e00920643e
commit fdd46a4d98
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
3 changed files with 4 additions and 4 deletions

View File

@ -86,7 +86,7 @@ var appNewCommand = &cli.Command{
if c.NArg() > 0 { if c.NArg() > 0 {
return return
} }
for name, _ := range catl { for name := range catl {
fmt.Println(name) fmt.Println(name)
} }
}, },

View File

@ -64,7 +64,7 @@ func RunApp(version, commit string) {
DebugFlag, DebugFlag,
}, },
Authors: []*cli.Author{ Authors: []*cli.Author{
&cli.Author{ {
Name: "Autonomic Co-op", Name: "Autonomic Co-op",
Email: "helo@autonomic.zone", Email: "helo@autonomic.zone",
}, },

View File

@ -256,8 +256,8 @@ func TemplateAppEnvSample(appType, appName, server, domain, recipe string) error
return fmt.Errorf("%s already exists?", appEnvPath) return fmt.Errorf("%s already exists?", appEnvPath)
} }
envSample = []byte(strings.Replace(string(envSample), fmt.Sprintf("%s.example.com", recipe), domain, -1)); envSample = []byte(strings.Replace(string(envSample), fmt.Sprintf("%s.example.com", recipe), domain, -1))
envSample = []byte(strings.Replace(string(envSample), "example.com", domain, -1)); envSample = []byte(strings.Replace(string(envSample), "example.com", domain, -1))
err = ioutil.WriteFile(appEnvPath, envSample, 0755) err = ioutil.WriteFile(appEnvPath, envSample, 0755)
if err != nil { if err != nil {