lib/vagrant-fleet/client.rb
# This handles outputting the communication data back to the UI
This handles outputting the communication data back to the UI
This handles outputting the communication data back to the UI
def handle_comm(type, data)
        if [:stderr, :stdout].include?(type)
          data = data.chomp
          return if data.empty?
          options = {}
          @machine.ui.info(data.chomp, options)
        end
      end
def handle_comm ( type , data ) if [ :stderr , :stdout ] . include? ( type ) data = data . chomp return if data . empty? options = { } @machine . ui . info ( data . chomp , options ) end end
This handles outputting the communication data back to the UI
This handles outputting the communication data back to the UI
# Output the data with the proper color based on the stream. # color = type == :stdout ? :green : :red # Clear out the newline since we add one #options[:color] = color if !config.keep_color
type
data