diff options
author | Samuel E. Giddins <segiddins@segiddins.me> | 2015-08-07 23:29:21 -0700 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-08-07 23:29:21 -0700 |
commit | b779901301730efd1fe3a30e3e2f1a00c8120c1a (patch) | |
tree | be0902625af812bb292243baf28526e166f5bec6 /lib/bundler/retry.rb | |
parent | 83bdb7f7ddc95bed78c18320bd8baa2ba8f3972a (diff) | |
download | bundler-b779901301730efd1fe3a30e3e2f1a00c8120c1a.tar.gz |
[RuboCop] Update to 0.33.0
Diffstat (limited to 'lib/bundler/retry.rb')
-rw-r--r-- | lib/bundler/retry.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bundler/retry.rb b/lib/bundler/retry.rb index 7f6da8a58e..85bff78807 100644 --- a/lib/bundler/retry.rb +++ b/lib/bundler/retry.rb @@ -15,10 +15,10 @@ module Bundler end def initialize(name, exceptions = nil, retries = self.class.default_retries) - @name = name - @retries = retries + @name = name + @retries = retries @exceptions = Array(exceptions) || [] - @total_runs = @retries + 1 # will run once, then upto attempts.times + @total_runs = @retries + 1 # will run once, then upto attempts.times end def attempt(&block) |