mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-17 00:52:33 +00:00
remove debug lines and add changelog
This commit is contained in:
parent
b5030288b9
commit
fd5f36a60a
3 changed files with 7 additions and 12 deletions
5
.changes/unreleased/BUG FIXES-20231027-092614.yaml
Normal file
5
.changes/unreleased/BUG FIXES-20231027-092614.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
kind: BUG FIXES
|
||||
body: Fixed malformed stdout when wrapper is enabled
|
||||
time: 2023-10-27T09:26:14.675402-04:00
|
||||
custom:
|
||||
Issue: "367"
|
||||
7
dist/index1.js
vendored
7
dist/index1.js
vendored
|
|
@ -27222,7 +27222,7 @@ async function checkTerraform () {
|
|||
const options = {
|
||||
listeners,
|
||||
ignoreReturnCode: true,
|
||||
silent: true, // work around github.com/actions/toolkit#649
|
||||
silent: true, // avoid printing command in stdout: https://github.com/actions/toolkit/issues/649
|
||||
};
|
||||
const exitCode = await exec(pathToCLI, args, options);
|
||||
|
||||
|
|
@ -27230,11 +27230,6 @@ async function checkTerraform () {
|
|||
process.stdout.write(stdout.contents);
|
||||
process.stderr.write(stderr.contents);
|
||||
|
||||
core.debug(`Terraform exited with code ${exitCode}.`);
|
||||
core.debug(`stdout: ${stdout.contents}`);
|
||||
core.debug(`stderr: ${stderr.contents}`);
|
||||
core.debug(`exitcode: ${exitCode}`);
|
||||
|
||||
// Set outputs, result, exitcode, and stderr
|
||||
core.setOutput('stdout', stdout.contents);
|
||||
core.setOutput('stderr', stderr.contents);
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ async function checkTerraform () {
|
|||
const options = {
|
||||
listeners,
|
||||
ignoreReturnCode: true,
|
||||
silent: true, // work around github.com/actions/toolkit#649
|
||||
silent: true, // avoid printing command in stdout: https://github.com/actions/toolkit/issues/649
|
||||
};
|
||||
const exitCode = await exec(pathToCLI, args, options);
|
||||
|
||||
|
|
@ -42,11 +42,6 @@ async function checkTerraform () {
|
|||
process.stdout.write(stdout.contents);
|
||||
process.stderr.write(stderr.contents);
|
||||
|
||||
core.debug(`Terraform exited with code ${exitCode}.`);
|
||||
core.debug(`stdout: ${stdout.contents}`);
|
||||
core.debug(`stderr: ${stderr.contents}`);
|
||||
core.debug(`exitcode: ${exitCode}`);
|
||||
|
||||
// Set outputs, result, exitcode, and stderr
|
||||
core.setOutput('stdout', stdout.contents);
|
||||
core.setOutput('stderr', stderr.contents);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue