forked from toolshed/abra
refactor(recipe): load load compoes config where its used
This commit is contained in:
@ -47,7 +47,7 @@ var recipeLintCommand = cli.Command{
|
||||
}
|
||||
|
||||
skipped := false
|
||||
if rule.Skip(recipe) {
|
||||
if rule.Skip(r) {
|
||||
skipped = true
|
||||
}
|
||||
|
||||
@ -58,7 +58,7 @@ var recipeLintCommand = cli.Command{
|
||||
|
||||
satisfied := false
|
||||
if !skipped {
|
||||
ok, err := rule.Function(recipe)
|
||||
ok, err := rule.Function(r)
|
||||
if err != nil {
|
||||
log.Warn(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user