Skip to content

Commit

Permalink
fix(publish): show publish option everytime
Browse files Browse the repository at this point in the history
  • Loading branch information
neikvon committed Jul 16, 2018
1 parent 8f73e02 commit dd12cd3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,8 @@ async function entry (options = defaults) {
}

// publish
if (hadCommited) {
await publish()
ctx.logger.success('Publish successfully\n')
}
await publish()
ctx.logger.success('Publish successfully\n')

// status
await getStatus()
Expand Down

0 comments on commit dd12cd3

Please sign in to comment.