Skip to content

Commit 7920c14

Browse files
committed
disable update check in bats tests
1 parent 245b4be commit 7920c14

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ services:
2525
test-bats:
2626
<<: *base
2727
environment:
28+
LETS_CHECK_UPDATE: 0
2829
NO_COLOR: 1
2930
BATS_UTILS_PATH: /bats
3031
command:

internal/cli/cli.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ func maybeStartUpdateCheck(
207207
command *cobra.Command,
208208
) (<-chan updateCheckResult, context.CancelFunc) {
209209
if !shouldCheckForUpdate(command.Name(), isInteractiveStderr()) {
210-
log.Debugf("lets: update check disabled")
211210
return nil, func() {}
212211
}
213212

0 commit comments

Comments
 (0)