From 02e010afee2bb407908542475eb58e255a592aea Mon Sep 17 00:00:00 2001 From: James Pogran Date: Wed, 27 Apr 2022 10:35:02 -0400 Subject: [PATCH] lint --- dist/index1.js | 10 +++++----- wrapper/terraform.js | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dist/index1.js b/dist/index1.js index 1e4a9a0..07b06e1 100755 --- a/dist/index1.js +++ b/dist/index1.js @@ -3049,14 +3049,14 @@ async () => { const stderr = new OutputListener(); const listeners = { stdout: stdout.listener, - stderr: stderr.listener, + stderr: stderr.listener }; // Execute terraform and capture output const args = process.argv.slice(2); const options = { listeners, - ignoreReturnCode: true, + ignoreReturnCode: true }; const exitCode = await exec(pathToCLI, args, options); core.debug(`Terraform exited with code ${exitCode}.`); @@ -3065,9 +3065,9 @@ async () => { core.debug(`exitcode: ${exitCode}`); // Set outputs, result, exitcode, and stderr - core.setOutput("stdout", stdout.contents); - core.setOutput("stderr", stderr.contents); - core.setOutput("exitcode", exitCode.toString(10)); + core.setOutput('stdout', stdout.contents); + core.setOutput('stderr', stderr.contents); + core.setOutput('exitcode', exitCode.toString(10)); if (exitCode === 0 || exitCode === 2) { // A exitCode of 0 is considered a success diff --git a/wrapper/terraform.js b/wrapper/terraform.js index fd903dd..8c6ee2e 100755 --- a/wrapper/terraform.js +++ b/wrapper/terraform.js @@ -21,14 +21,14 @@ async () => { const stderr = new OutputListener(); const listeners = { stdout: stdout.listener, - stderr: stderr.listener, + stderr: stderr.listener }; // Execute terraform and capture output const args = process.argv.slice(2); const options = { listeners, - ignoreReturnCode: true, + ignoreReturnCode: true }; const exitCode = await exec(pathToCLI, args, options); core.debug(`Terraform exited with code ${exitCode}.`); @@ -37,9 +37,9 @@ async () => { core.debug(`exitcode: ${exitCode}`); // Set outputs, result, exitcode, and stderr - core.setOutput("stdout", stdout.contents); - core.setOutput("stderr", stderr.contents); - core.setOutput("exitcode", exitCode.toString(10)); + core.setOutput('stdout', stdout.contents); + core.setOutput('stderr', stderr.contents); + core.setOutput('exitcode', exitCode.toString(10)); if (exitCode === 0 || exitCode === 2) { // A exitCode of 0 is considered a success