lib/keep_up/bundle.rb in keep_up-0.10.2 vs lib/keep_up/bundle.rb in keep_up-0.11.0

- old
+ new

@@ -113,14 +113,14 @@ end def run_filtered(command, regexp) result = @runner.run command lines = result.split("\n").reject(&:empty?) - lines.map do |line| + lines.filter_map do |line| matchdata = regexp.match line next unless matchdata matchdata.to_a[1..] - end.compact + end end end end