fix: return if erroring out
This commit is contained in:
parent
6eee02d90a
commit
45c3bce7ff
|
@ -188,6 +188,7 @@ var recipeVersionCommand = &cli.Command{
|
||||||
apps, err := ReadApps()
|
apps, err := ReadApps()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logrus.Fatal(err)
|
logrus.Fatal(err)
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if app, ok := apps[recipe]; ok {
|
if app, ok := apps[recipe]; ok {
|
||||||
|
|
Loading…
Reference in New Issue