MCPcopy Index your code
hub / github.com/jetify-com/devbox / IsCI

Function IsCI

internal/envir/util.go:33–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33func 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.

Callers 1

RunDevboxTestscriptsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected