Linter fix

This commit is contained in:
Lea Anthony
2019-01-16 08:19:30 +11:00
parent a6489a1044
commit 717e598330

6
app.go
View File

@@ -69,10 +69,10 @@ func CreateApp(optionalConfig ...*AppConfig) *App {
func (a *App) Run() error {
if DebugMode == "true" {
return a.cli.Run()
} else {
a.logLevel = "error"
return a.start()
}
a.logLevel = "error"
return a.start()
}
func (a *App) start() error {