Skip to content

Commit

Permalink
Merge pull request #436 from pat/frozen-string-literals
Browse files Browse the repository at this point in the history
Improve frozen-string-literals compatibility.
  • Loading branch information
maxmeyer authored Jun 29, 2017
2 parents 47ed56c + 1822d82 commit 3d6a749
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/aruba/platforms/command_monitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def stderr_from(cmd)
def all_stdout
registered_commands.each(&:stop)

registered_commands.each_with_object("") { |e, a| a << e.stdout }
registered_commands.each_with_object("".dup) { |e, a| a << e.stdout }
end

# @deprecated
Expand All @@ -145,7 +145,7 @@ def all_stdout
def all_stderr
registered_commands.each(&:stop)

registered_commands.each_with_object("") { |e, a| a << e.stderr }
registered_commands.each_with_object("".dup) { |e, a| a << e.stderr }
end

# @deprecated
Expand Down

0 comments on commit 3d6a749

Please sign in to comment.