summaryrefslogtreecommitdiff
path: root/lib/bundler/retry.rb
diff options
context:
space:
mode:
authorSamuel E. Giddins <segiddins@segiddins.me>2015-08-07 23:29:21 -0700
committerSamuel E. Giddins <segiddins@segiddins.me>2015-08-07 23:29:21 -0700
commitb779901301730efd1fe3a30e3e2f1a00c8120c1a (patch)
treebe0902625af812bb292243baf28526e166f5bec6 /lib/bundler/retry.rb
parent83bdb7f7ddc95bed78c18320bd8baa2ba8f3972a (diff)
downloadbundler-b779901301730efd1fe3a30e3e2f1a00c8120c1a.tar.gz
[RuboCop] Update to 0.33.0
Diffstat (limited to 'lib/bundler/retry.rb')
-rw-r--r--lib/bundler/retry.rb6
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)