diff options
author | Andre Arko <andre@arko.net> | 2015-07-18 16:44:14 -0600 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-07-18 16:45:36 -0600 |
commit | 0f8bc78180ce4f8bae5dc48e2078b44cd4fafe44 (patch) | |
tree | c175c911a748afd50c0045038499a5a349fec135 /lib/bundler/source/path.rb | |
parent | 14a7eb25ee03c9fb4ecf3e4c6b1f44a8267a413a (diff) | |
download | bundler-0f8bc78180ce4f8bae5dc48e2078b44cd4fafe44.tar.gz |
Fix Style/SpaceInsideBlockBraces
closes #3853
Diffstat (limited to 'lib/bundler/source/path.rb')
-rw-r--r-- | lib/bundler/source/path.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/source/path.rb b/lib/bundler/source/path.rb index 9ec140f3..57f8bc01 100644 --- a/lib/bundler/source/path.rb +++ b/lib/bundler/source/path.rb @@ -150,8 +150,8 @@ module Bundler s.authors = ["no one"] if expanded_path.join("bin").exist? executables = expanded_path.join("bin").children - executables.reject!{|p| File.directory?(p) } - s.executables = executables.map{|c| c.basename.to_s } + executables.reject! {|p| File.directory?(p) } + s.executables = executables.map {|c| c.basename.to_s } end end end |