lib/arborist/command/watch.rb in arborist-0.0.1.pre20161005182540 vs lib/arborist/command/watch.rb in arborist-0.1.0

- old
+ new

@@ -94,15 +94,15 @@ event_type = event['type'] id = event['identifier'] case event_type when 'node.update' - type, status, error = event['data'].values_at( *%w'type status error' ) + type, status, errors = event['data'].values_at( *%w'type status errors' ) return "%s updated: %s is %s%s" % [ hl( id ).color( :cyan ), type, hl( status ).color( status.to_sym ), - error ? " (#{error})" : '' + errors ? " (#{errors})" : '' ] when 'node.delta' pairs = diff_pairs( event['data'] ) return "%s delta, changes: %s" % [ hl( id ).color( :cyan ), pairs ] else