Skip to content

Commit

Permalink
add msg
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Apr 5, 2024
1 parent f59ae21 commit c83c5bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ func checkVersion(logger output.Logger) {
}
}

// checkVersion fetches latest version and compares it to local.
// checkVersionCadence1 fetches latest version of cadence-v1.0.0 and compares it to local.
// This is a special case for cadence-v1.0.0 pre-release & should be removed when cadence-v1.0.0 branch is merged.
func checkVersionCadence1(logger output.Logger) {
resp, err := http.Get("https://api.github.com/repos/onflow/flow-cli/releases?per_page=100")
if err != nil || resp.StatusCode >= 400 {
Expand Down

0 comments on commit c83c5bf

Please sign in to comment.