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.
This commit is contained in:
Dominyk Tiller 2016-05-12 00:29:29 +01:00
parent b5a44161a4
commit 745a1312dc

View File

@ -552,7 +552,7 @@ module Homebrew
# We're in the cache; make sure to force re-download # We're in the cache; make sure to force re-download
while true do while true do
begin begin
retry_count retry_count = retry_count
curl url, "-o", filename curl url, "-o", filename
break break
rescue rescue