Skip to content

Commit

Permalink
fix: read from statusDetail instead of statusList (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu authored and GabeDuarteM committed Nov 16, 2019
1 parent b80ef10 commit aa6bba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const publish = async ({ extensionId, target, asset }: PluginConfig) => {
if (!publishRes.status.includes('OK')) {
const errors: SemanticReleaseError[] = []
for (let i = 0; i < publishRes.status.length; i += 1) {
const message = publishRes.statusList[i]
const message = publishRes.statusDetail[i]
const code = publishRes.status[i]
const err = new SemanticReleaseError(message, code)
errors.push(err)
Expand Down

0 comments on commit aa6bba6

Please sign in to comment.