This commit is contained in:
Darko Luketic 2024-01-08 17:13:48 +01:00
parent 315b4e3f7a
commit 798eb32d64

View File

@ -34,8 +34,8 @@ func (r *Runner) Run() error {
return fmt.Errorf("error getting current go version: %s", e)
}
for _, m := range ms {
fmt.Println(fmt.Sprintf("%s%s", m.RootPath, m.BinaryPath))
fv, e := getVersionOfFile(fmt.Sprintf("%s%s", m.RootPath, m.BinaryPath))
fmt.Println(fmt.Sprintf("%s/%s", m.RootPath, m.BinaryPath))
fv, e := getVersionOfFile(fmt.Sprintf("%s/%s", m.RootPath, m.BinaryPath))
if e != nil {
return fmt.Errorf("error getting version of file: %s", e)
}