Skip to content

Commit

Permalink
feat: finished autoselect version feature
Browse files Browse the repository at this point in the history
  • Loading branch information
troykessler committed Nov 21, 2024
1 parent 3359a0d commit 5a62ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var (
)

func SelectCosmovisorVersion(binaryPath, homePath, registryUrl, source string, continuationHeight int64) error {
if !strings.HasSuffix(binaryPath, "cosmovisor") {
if !strings.HasSuffix(binaryPath, "cosmovisor") || source == "" {
return nil
}

Expand Down

0 comments on commit 5a62ace

Please sign in to comment.