Skip to content

Commit cc905db

Browse files
rubiinjoshmedeski
andauthored
Update seshcli/root_command.go
Co-authored-by: Josh Medeski <[email protected]>
1 parent 63265da commit cc905db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seshcli/root_command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func isUpgradeAvailable(current, latest string) bool {
5858
for i := 0; i < len(cParts) && i < len(lParts); i++ {
5959
cNum, _ := strconv.Atoi(cParts[i])
6060
lNum, _ := strconv.Atoi(lParts[i])
61-
if lNum > cNum {
61+
return lNum > cNum
6262
return true
6363
} else if lNum < cNum {
6464
return false

0 commit comments

Comments
 (0)