Skip to content

Commit

Permalink
feat: ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
vivaxy committed May 27, 2017
1 parent a19c09e commit 9a24f5c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/git/commands/gitPush.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,10 @@ export default async() => {

const remote = await getRemote();

return await execa('git', ['push', remote, branch, '--follow-tag'], { stdio: 'inherit' });
const results = await execa('git', ['push', remote, branch, '--follow-tag'], { stdio: 'inherit' });
if (results.contains('Enter passphrase for key')) {
throw new Error('Enter passphrase for key');
}
console.log(results);
return results;
};

0 comments on commit 9a24f5c

Please sign in to comment.