|
|
@ -166,7 +166,7 @@ func lintChart(path string, vals []byte, namespace string, strict bool) (support
|
|
|
|
chartPath = path
|
|
|
|
chartPath = path
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Guard: Error out of this is not a chart.
|
|
|
|
// Guard: Error out if this is not a chart.
|
|
|
|
if _, err := os.Stat(filepath.Join(chartPath, "Chart.yaml")); err != nil {
|
|
|
|
if _, err := os.Stat(filepath.Join(chartPath, "Chart.yaml")); err != nil {
|
|
|
|
return linter, errLintNoChart
|
|
|
|
return linter, errLintNoChart
|
|
|
|
}
|
|
|
|
}
|
|
|
|