Skip to content

Commit

Permalink
Enable force check
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Mar 26, 2024
1 parent cd6aad4 commit a54ed9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/updatecheck/check_for_updates.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func CheckForArduinoCLIUpdates(ctx context.Context, req *rpc.CheckForArduinoCLIU
return nil, err
}

if !shouldCheckForUpdate(currentVersion) {
if !shouldCheckForUpdate(currentVersion) && !req.GetForceCheck() {
return &rpc.CheckForArduinoCLIUpdatesResponse{}, nil
}

Expand Down

0 comments on commit a54ed9e

Please sign in to comment.