()
| 45 | } |
| 46 | |
| 47 | func getEnvironment() string { |
| 48 | if env.IsCloud() { |
| 49 | return "cloud" |
| 50 | } |
| 51 | return "cli" |
| 52 | } |
| 53 | |
| 54 | // getSyncEventDetails returns the cached event details if available, otherwise it fetches the details from the API |
| 55 | func getSyncEventDetails(ctx context.Context) *eventDetails { |
no outgoing calls
no test coverage detected