diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-15 13:57:09 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-09-17 11:41:45 +0200 |
commit | 696c3768d72a5479f131d4f9cee3b0084d3f8b45 (patch) | |
tree | 0d6b654b79f42b10c99aef9d2bc12c9fe3435f58 | |
parent | ebe0b853d8f2ac93f9c69768ee6af2c18fbc9d87 (diff) | |
download | bundler-696c3768d72a5479f131d4f9cee3b0084d3f8b45.tar.gz |
Remove duplicated condition
We're checking the same thing in the previous line
-rwxr-xr-x | bin/with_rubygems | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/with_rubygems b/bin/with_rubygems index 96299669be..07c7ac1de9 100755 --- a/bin/with_rubygems +++ b/bin/with_rubygems @@ -13,7 +13,7 @@ rubygems_path = Pathname.new(version).expand_path unless rubygems_path.directory? rubygems_path = Pathname.new("tmp/rubygems").expand_path unless rubygems_path.directory? - rubygems_path.parent.mkpath unless rubygems_path.directory? + rubygems_path.parent.mkpath run("git", "clone", "https://github.com/rubygems/rubygems.git", rubygems_path.to_s) end Dir.chdir(rubygems_path) do |