lib/travis/cli/pubkey.rb in travis-1.7.2.travis.633.5 vs lib/travis/cli/pubkey.rb in travis-1.7.2.travis.634.5

- old
+ new

@@ -8,9 +8,10 @@ description "prints out a repository's public key" on('-p', '--pem', 'encode in format used by pem') { |c,_| c.key_format = :pem } on('-f', '--fingerprint', 'display fingerprint') { |c,_| c.key_format = :fingerprint } def run + error "#{key_format} format not supported by #{api_endpoint}" unless key say key, "Public key for #{color(repository.slug, :info)}:\n\n%s", :bold end private