Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Turn a #map into #each where the return value is unused #2111

Merged
merged 1 commit into from
Nov 9, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/rspec/core/ruby_project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Core
# @private
module RubyProject
def add_to_load_path(*dirs)
dirs.map { |dir| add_dir_to_load_path(File.join(root, dir)) }
dirs.each { |dir| add_dir_to_load_path(File.join(root, dir)) }
end

def add_dir_to_load_path(dir)
Expand Down