Skip to content

Commit

Permalink
restore development check
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Apr 5, 2024
1 parent 523e46d commit ed4de9c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,12 @@ func createLogger(logFlag string, formatFlag string) output.Logger {
// checkVersion fetches latest version and compares it to local.
func checkVersion(logger output.Logger) {
currentVersion := build.Semver()
if isDevelopment() {
return // avoid warning in local development
}

// If using cadence-v1.0.0 pre-release, check for cadence-v1.0.0 releases instead
if strings.Contains(currentVersion, "cadence-v1.0.0") || true {
if strings.Contains(currentVersion, "cadence-v1.0.0") {
checkVersionCadence1(logger)
return
}
Expand Down

0 comments on commit ed4de9c

Please sign in to comment.