lib/lita/adapters/shell.rb in lita-3.1.0 vs lib/lita/adapters/shell.rb in lita-3.2.0

- old
+ new

@@ -18,10 +18,10 @@ # Outputs outgoing messages to the shell. # @param target [Lita::Source] Unused, since there is only one user in the # shell environment. # @param strings [Array<String>] An array of strings to output. # @return [void] - def send_messages(target, strings) + def send_messages(_target, strings) strings = Array(strings) strings.reject! { |string| string.empty? } unless RbConfig::CONFIG["host_os"] =~ /mswin|mingw/ || !$stdout.tty? strings.map! { |string| "\e[32m#{string}\e[0m" } end