()
| 338 | |
| 339 | #[cfg(feature = "telemetry")] |
| 340 | fn telemetry_endpoint() -> Option<String> { |
| 341 | telemetry_endpoint_from( |
| 342 | std::env::var("OPENSHELL_TELEMETRY_ENDPOINT") |
| 343 | .ok() |
| 344 | .as_deref(), |
| 345 | ) |
| 346 | } |
| 347 | |
| 348 | #[cfg(feature = "telemetry")] |
| 349 | fn telemetry_endpoint_from(endpoint: Option<&str>) -> Option<String> { |
no test coverage detected