This commit is contained in:
		| @ -206,8 +206,8 @@ func LintForErrors(recipe recipe.Recipe) error { | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	if (len(errors) > 0) { | ||||
| 		return fmt.Errorf("recipe '%s' failed lint checks:\n" + errors[1:], recipe.Name) | ||||
| 	if len(errors) > 0 { | ||||
| 		return fmt.Errorf("recipe '%s' failed lint checks:\n"+errors[1:], recipe.Name) | ||||
| 	} | ||||
|  | ||||
| 	log.Debugf("linting successful, %s is well configured", recipe.Name) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user