latestVersion returns the latest version available for the binary.
()
| 297 | |
| 298 | // latestVersion returns the latest version available for the binary. |
| 299 | func latestVersion() string { |
| 300 | version := os.Getenv(envir.DevboxLatestVersion) |
| 301 | if version == "" { |
| 302 | return "" |
| 303 | } |
| 304 | return "v" + version |
| 305 | } |
no outgoing calls
no test coverage detected