diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2015-11-26 12:39:25 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2015-11-26 12:39:25 -0600 |
commit | 404903c84e85004f1d451bf75a6b534c87efb089 (patch) | |
tree | 1354131080f43015b1416574a07e9a9e988c6ae8 /lib/bundler/source/git | |
parent | 29eaf79e9c1b6c4e73256ad02cbd502577e6f454 (diff) | |
download | bundler-404903c84e85004f1d451bf75a6b534c87efb089.tar.gz |
[RuboCop] Enable Style/IfUnlessModifier
Diffstat (limited to 'lib/bundler/source/git')
-rw-r--r-- | lib/bundler/source/git/git_proxy.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/bundler/source/git/git_proxy.rb b/lib/bundler/source/git/git_proxy.rb index d7e4ff3554..b8900888a9 100644 --- a/lib/bundler/source/git/git_proxy.rb +++ b/lib/bundler/source/git/git_proxy.rb @@ -107,9 +107,7 @@ module Bundler git_retry %(fetch --force --quiet --tags "#{path}") git "reset --hard #{@revision}" - if submodules - git_retry "submodule update --init --recursive" - end + git_retry "submodule update --init --recursive" if submodules end end |