lib/baleen/runner.rb in baleen-0.0.12 vs lib/baleen/runner.rb in baleen-0.1.0
- old
+ new
@@ -69,12 +69,13 @@
private
def create_runners
target_files.map {|file|
- @params.files = file
- Runner.new(@params)
- }.each_slice(CONCURRENCY).map {|r| r}
+ params = @params.dup
+ params.files = file
+ Runner.new(params)
+ }.each_slice(@params.concurrency).map {|r| r}
end
def target_files
params = @params.dup
params.command = %{find #{params.files} | grep "\\.feature"}
\ No newline at end of file