Skip to content

Commit

Permalink
chore(action): Better explanation of change
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyibishev committed Jul 13, 2021
1 parent 258af06 commit 6b10e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrapper/terraform.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function checkTerraform () {
core.setOutput('exitcode', exitCode.toString(10));

// A non-zero exitCode is considered an error
// An exit-code 2 is used when the '-detailed-exitcode' option is passed to plan. this denotes Success with non-empty diff (changes present)
// An exit-code 2 may be returned when the '-detailed-exitcode' option is passed to plan. This denotes Success with non-empty diff (changes present).
if (exitCode !== 0 || exitCode !== 2 ) {
core.setFailed(`Terraform exited with code ${exitCode}.`);
}
Expand Down

0 comments on commit 6b10e7f

Please sign in to comment.