Skip to content
Snippets Groups Projects
Commit 745a1312 authored by Dominyk Tiller's avatar Dominyk Tiller
Browse files

pull: insert questionable syntax hack

I'm not completely sure this is "sane" logic but I'm leery of just reverting
Andrew's work this morning and making him rebuild that PR from scratch for one
syntax issue.

Sadly, because we run:
```
brew readall --aliases --syntax
```
On every CI job, and that flags this line previously as:
```
pull.rb:555: warning: possibly useless use of a variable in void context
```

Every single PR has "failed" since it was merged, and it's reached the point
of being a bit annoying, so let's try this.
parent b5a44161
No related branches found
No related tags found
No related merge requests found
......@@ -552,7 +552,7 @@ module Homebrew
# We're in the cache; make sure to force re-download
while true do
begin
retry_count
retry_count = retry_count
curl url, "-o", filename
break
rescue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment