Skip to content

Commit

Permalink
Don't check for version updates in development mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Piccirello committed Jan 15, 2020
1 parent edc42c7 commit 9b816cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func checkVersion(command string, silent bool, plain bool, print bool) {
return
}

if !version.PerformVersionCheck || !print {
if !version.PerformVersionCheck || !print || version.IsDevelopment() {
return
}

Expand Down

0 comments on commit 9b816cc

Please sign in to comment.