mirror of
https://github.com/helm/helm.git
synced 2026-08-09 01:21:20 +00:00
Merge pull request #6628 from VilledeMontreal/fix/impossibleCond
Remove impossible condition reported by linter
This commit is contained in:
@@ -45,9 +45,6 @@ func Expand(dir string, r io.Reader) error {
|
||||
if err := yaml.Unmarshal(file.Data, ch); err != nil {
|
||||
return errors.Wrap(err, "cannot load Chart.yaml")
|
||||
}
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
chartName = ch.Name
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user