forked from toolshed/abra
refactor: centralise recipe validation
This commit is contained in:
@ -157,7 +157,7 @@ func LoadAppFiles(servers ...string) (AppFiles, error) {
|
||||
func GetApp(apps AppFiles, name AppName) (App, error) {
|
||||
appFile, exists := apps[name]
|
||||
if !exists {
|
||||
return App{}, fmt.Errorf("cannot find app file with name '%s'", name)
|
||||
return App{}, fmt.Errorf("cannot find app with name '%s'", name)
|
||||
}
|
||||
app, err := readAppEnvFile(appFile, name)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user