diff --git a/internal/flags/flags.go b/internal/flags/flags.go index 20e751d8a8..5cfa938ef9 100644 --- a/internal/flags/flags.go +++ b/internal/flags/flags.go @@ -79,7 +79,7 @@ func init() { log.Print(usage) pflag.PrintDefaults() } - offline, err := strconv.ParseBool(env.GetEnvOrDefault("TASK_OFFLINE", "false")) + offline, err := strconv.ParseBool(cmp.Or("TASK_OFFLINE", "false")) if err != nil { offline = false }