diff --git a/lib/ssh.js b/lib/ssh.js index 109efef..e268b40 100644 --- a/lib/ssh.js +++ b/lib/ssh.js @@ -25,9 +25,10 @@ async function syncGithubKeys(opts) { }) await ssh.exec('sync-github-keys', [ opts.githubUsername ]) + .then(console.log) + .catch(console.error) - await ssh.dispose() - + ssh.dispose() } async function addRemote(opts) {