()
| 31 | } |
| 32 | |
| 33 | func IsCI() bool { |
| 34 | ci, err := strconv.ParseBool(os.Getenv("CI")) |
| 35 | return ci && err == nil |
| 36 | } |
| 37 | |
| 38 | // GetValueOrDefault gets the value of an environment variable. |
| 39 | // If it's empty, it will return the given default value instead. |
no outgoing calls
no test coverage detected