Skip to content

Commit

Permalink
refactor: rename error variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kanej committed Sep 12, 2023
1 parent 0748561 commit 54ed809
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ function _convertExecutionError(result: ExecutionErrorDeploymentResult) {
}

if (messageDetails.held) {
const errorList = result.held.map(
const reasonList = result.held.map(
({ futureId, heldId, reason }) => ` * ${futureId}/${heldId}: ${reason}`
);

sections.push(`Held:\n\n${errorList.join("\n")}`);
sections.push(`Held:\n\n${reasonList.join("\n")}`);
}

return `The deployment wasn't successful, there were ${_toText(
Expand Down

0 comments on commit 54ed809

Please sign in to comment.