There was an error while loading. Please reload this page.
1 parent 258af06 commit 6b10e7fCopy full SHA for 6b10e7f
wrapper/terraform.js
@@ -42,7 +42,7 @@ async function checkTerraform () {
42
core.setOutput('exitcode', exitCode.toString(10));
43
44
// A non-zero exitCode is considered an error
45
- // 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).
46
if (exitCode !== 0 || exitCode !== 2 ) {
47
core.setFailed(`Terraform exited with code ${exitCode}.`);
48
}
0 commit comments