lint
This commit is contained in:
@@ -52,8 +52,15 @@ func (this *InstallClass) NewInstall() (string, error) {
|
||||
// Lecture du fichier de conf
|
||||
// this.versionFile = dst
|
||||
|
||||
this.tools = tool.FromConfigFile(dst)
|
||||
this.charts = chart.FromConfigFile(dst)
|
||||
var err error
|
||||
this.tools, err = tool.FromConfigFile(dst)
|
||||
if err != nil {
|
||||
return dst, err
|
||||
}
|
||||
this.charts, _ = chart.FromConfigFile(dst)
|
||||
if err != nil {
|
||||
return dst, err
|
||||
}
|
||||
|
||||
return dst, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user