fix: don't panic() 😅
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
8fad34e430
commit
a21d431541
|
@ -329,7 +329,7 @@ func TemplateAppEnvSample(recipeName, appName, server, domain string) error {
|
||||||
|
|
||||||
err = ioutil.WriteFile(appEnvPath, []byte(newContents), 0)
|
err = ioutil.WriteFile(appEnvPath, []byte(newContents), 0)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
logrus.Debugf("copied & templated %s to %s", envSamplePath, appEnvPath)
|
logrus.Debugf("copied & templated %s to %s", envSamplePath, appEnvPath)
|
||||||
|
|
Loading…
Reference in New Issue