You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would prefer it written this way to remove indentation levels
for _, element := range versions {
if !constrains.Check(element) { // Validate a version against a constraint
continue
}
tfversion := element.String()
if !lib.ValidVersionFormat(tfversion) { // check if version format is correct
printInvalidTFVersion()
os.Exit(1)
}
out, err := lib.Install(tfversion, mirrorURL)
if err != nil {
log.Printf("Error during install %v", err)
os.Exit(1)
}
return out
}
I would prefer it written this way to remove indentation levels
Originally posted by @Vince-Chenal in #4 (comment)
The text was updated successfully, but these errors were encountered: