Skip to content

Commit

Permalink
fix(publish): fix throwing of s3 deployment error
Browse files Browse the repository at this point in the history
  • Loading branch information
evansiroky committed Aug 9, 2018
1 parent 84dac4d commit 9a5fcc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ async function publish (pluginConfig, context) {
// make a commit bumping to snapshot version
await commitVersionInPomXml(`${nextSnapshotVersion.join('.')}-SNAPSHOT`, logger)

// only throw an error for s3 deployment after committing a new snapshot version
// if needed, throw an error for s3 deployment after committing a new snapshot version
if (!s3deployOk) {
throw getError('ES3ES3DEPLOY')
throw getError('ES3DEPLOY')
}
}

Expand Down

0 comments on commit 9a5fcc5

Please sign in to comment.