Skip to content

Commit a54ed9e

Browse files
committed
Enable force check
1 parent cd6aad4 commit a54ed9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/updatecheck/check_for_updates.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func CheckForArduinoCLIUpdates(ctx context.Context, req *rpc.CheckForArduinoCLIU
3535
return nil, err
3636
}
3737

38-
if !shouldCheckForUpdate(currentVersion) {
38+
if !shouldCheckForUpdate(currentVersion) && !req.GetForceCheck() {
3939
return &rpc.CheckForArduinoCLIUpdatesResponse{}, nil
4040
}
4141

0 commit comments

Comments
 (0)