lib/travis/cli/whoami.rb in travis-1.11.1 vs lib/travis/cli/whoami.rb in travis-1.12.0
- old
+ new
@@ -1,15 +1,15 @@
require 'travis/cli'
module Travis
module CLI
class Whoami < ApiCommand
- description "outputs the current user"
+ description 'outputs the current user'
def run
authenticate
name = " (#{user.name})" unless user.name.to_s.empty?
- say user.login, "You are %s" << name.to_s
+ say user.login, 'You are %s' << name.to_s
end
end
end
end