Skip to content

Commit

Permalink
Update internal/flags/flags.go
Browse files Browse the repository at this point in the history
Co-authored-by: Pete Davison <[email protected]>
  • Loading branch information
vmaerten and pd93 authored Sep 20, 2024
1 parent 8d160ca commit fa77c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

Check failure on line 82 in internal/flags/flags.go

View workflow job for this annotation

GitHub Actions / Test (1.22.x, ubuntu-latest)

undefined: cmp

Check failure on line 82 in internal/flags/flags.go

View workflow job for this annotation

GitHub Actions / Lint (1.22.x)

undefined: cmp (typecheck)

Check failure on line 82 in internal/flags/flags.go

View workflow job for this annotation

GitHub Actions / Lint (1.22.x)

undefined: cmp) (typecheck)

Check failure on line 82 in internal/flags/flags.go

View workflow job for this annotation

GitHub Actions / Test (1.22.x, macos-latest)

undefined: cmp

Check failure on line 82 in internal/flags/flags.go

View workflow job for this annotation

GitHub Actions / Test (1.23.x, ubuntu-latest)

undefined: cmp

Check failure on line 82 in internal/flags/flags.go

View workflow job for this annotation

GitHub Actions / Lint (1.23.x)

undefined: cmp (typecheck)

Check failure on line 82 in internal/flags/flags.go

View workflow job for this annotation

GitHub Actions / Lint (1.23.x)

undefined: cmp) (typecheck)

Check failure on line 82 in internal/flags/flags.go

View workflow job for this annotation

GitHub Actions / Test (1.23.x, macos-latest)

undefined: cmp
if err != nil {
offline = false
}
Expand Down

0 comments on commit fa77c60

Please sign in to comment.