(updateInfo shared.UpdateInfo)
| 266 | } |
| 267 | |
| 268 | func getPossiblyOverriddenVersion(updateInfo shared.UpdateInfo) string { |
| 269 | if forcedVersion := os.Getenv("HISHTORY_FORCE_CLIENT_VERSION"); forcedVersion != "" { |
| 270 | return forcedVersion |
| 271 | } |
| 272 | return updateInfo.Version |
| 273 | } |
| 274 | |
| 275 | func getTmpClientPath() string { |
| 276 | tmpDir := "/tmp/" |
no outgoing calls
no test coverage detected