Skip to content

Commit

Permalink
refactor command_all to use lines method
Browse files Browse the repository at this point in the history
  • Loading branch information
dorianmariecom committed Sep 5, 2024
1 parent 34574cf commit 67d4805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dorian/bin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def command_tally
end

def command_all
each(everything, progress: true) { |input| evaluates(it: reads(input)) }
each(everything, progress: true) { |input| evaluates(it: lines(reads(input))) }
end

def command_append
Expand Down

0 comments on commit 67d4805

Please sign in to comment.