fix quiet lint does not fail on non-linting errors

Signed-off-by: Joe Julian <me@joejulian.name>
This commit is contained in:
Joe Julian
2023-04-07 16:53:57 -07:00
parent f13fa07793
commit 853c18002f

View File

@@ -82,7 +82,7 @@ func HasWarningsOrErrors(result *LintResult) bool {
return true
}
}
return false
return len(result.Errors) > 0
}
func lintChart(path string, vals map[string]interface{}, namespace string, strict bool) (support.Linter, error) {