Merge pull request #11973 from joejulian/quiet_lint

fail quiet linting when an error occurs
This commit is contained in:
Matt Farina
2023-04-28 14:53:04 -04:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

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) {