currentLauncherVersion returns launcher's version if it is available, or empty string if it is not.
()
| 260 | // currentLauncherVersion returns launcher's version if it is |
| 261 | // available, or empty string if it is not. |
| 262 | func currentLauncherVersion() string { |
| 263 | launcherVersion := os.Getenv(envir.LauncherVersion) |
| 264 | if launcherVersion == "" { |
| 265 | return "" |
| 266 | } |
| 267 | return "v" + launcherVersion |
| 268 | } |
| 269 | |
| 270 | func removeCurrentVersionFile() error { |
| 271 | // currentVersionFilePath is the path to the file that contains the cached |
no outgoing calls
no test coverage detected