forked from toolshed/abra
refactor: code style / error handling improvements
This commit is contained in:
@ -136,7 +136,7 @@ A new catalogue copy can be published to the recipes repository by passing the
|
||||
|
||||
isClean, err := gitPkg.IsClean(rm.Name)
|
||||
if err != nil {
|
||||
return
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
if !isClean {
|
||||
@ -175,6 +175,9 @@ A new catalogue copy can be published to the recipes repository by passing the
|
||||
}
|
||||
|
||||
features, category, err := catalogue.GetRecipeFeaturesAndCategory(recipeMeta.Name)
|
||||
if err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
catl[recipeMeta.Name] = catalogue.RecipeMeta{
|
||||
Name: recipeMeta.Name,
|
||||
|
Reference in New Issue
Block a user