chore: run formatter

This commit is contained in:
2021-09-17 07:38:38 +02:00
parent e00920643e
commit fdd46a4d98
3 changed files with 4 additions and 4 deletions

View File

@ -256,8 +256,8 @@ func TemplateAppEnvSample(appType, appName, server, domain, recipe string) error
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), "example.com", 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))
err = ioutil.WriteFile(appEnvPath, envSample, 0755)
if err != nil {