diff --git a/dist/index1.js b/dist/index1.js index 07b06e1..6755f84 100755 --- a/dist/index1.js +++ b/dist/index1.js @@ -3040,7 +3040,7 @@ async function checkTerraform () { return io.which(pathToCLI, check); } -async () => { +(async () => { // This will fail if Terraform isn't found, which is what we want await checkTerraform(); @@ -3079,7 +3079,7 @@ async () => { // A non-zero exitCode is considered an error core.setFailed(`Terraform exited with code ${exitCode}.`); -}; +})(); })(); diff --git a/wrapper/terraform.js b/wrapper/terraform.js index 8c6ee2e..b0311af 100755 --- a/wrapper/terraform.js +++ b/wrapper/terraform.js @@ -12,7 +12,7 @@ async function checkTerraform () { return io.which(pathToCLI, check); } -async () => { +(async () => { // This will fail if Terraform isn't found, which is what we want await checkTerraform(); @@ -51,4 +51,4 @@ async () => { // A non-zero exitCode is considered an error core.setFailed(`Terraform exited with code ${exitCode}.`); -}; +})();