diff options
| author | Dominyk Tiller | 2016-05-12 00:29:29 +0100 |
|---|---|---|
| committer | Dominyk Tiller | 2016-05-12 00:29:29 +0100 |
| commit | 745a1312dce936ddd519c2e151e889459243c543 (patch) | |
| tree | f455f2ca116d2ffa5d863f5ae2c15780ecad00c9 /Library | |
| parent | b5a44161a4b2af3bf6b08970d3f8fc151ee1796a (diff) | |
| download | brew-745a1312dce936ddd519c2e151e889459243c543.tar.bz2 | |
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.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/pull.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb index be1d331a8..1f6ae8acc 100644 --- a/Library/Homebrew/cmd/pull.rb +++ b/Library/Homebrew/cmd/pull.rb @@ -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 |
