lib/travis/cli/sshkey.rb in travis-1.13.3 vs lib/travis/cli/sshkey.rb in travis-1.14.0
- old
+ new
@@ -18,10 +18,9 @@
on '-g', '--github-token TOKEN', 'identify by GitHub token'
def_delegators :repository, :ssh_key
def run
- error "SSH keys are not available on #{color(session.config['host'], :bold)}" if org?
delete_key if delete?
update_key File.read(upload), upload if upload?
update_key $stdin.read, 'stdin' if stdin?
generate_key if generate?
display_key