Skip to content

Commit

Permalink
Don't log "Aborted!" message when publish is a success (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
shazron authored and sindresorhus committed Oct 28, 2019
1 parent 55eec55 commit e335d26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ module.exports = async (input = 'patch', options) => {
await rollback();
callback();
})();
} else if (publishStatus === 'SUCCESS' && runPublish) {
// Do nothing
} else {
console.log('\nAborted!');
callback();
Expand Down

0 comments on commit e335d26

Please sign in to comment.