lib/travis/cli/whoami.rb in travis-1.6.3.travis.392.4 vs lib/travis/cli/whoami.rb in travis-1.6.3.travis.394.4

- old
+ new

@@ -5,10 +5,11 @@ class Whoami < ApiCommand description "outputs the current user" def run authenticate - say user.login, "You are %s (#{user.name})" + name = " (#{user.name})" unless user.name.to_s.empty? + say user.login, "You are %s" << name.to_s end end end end