Use stderr

This commit is contained in:
Takayuki Nakata 2022-11-01 22:24:35 +09:00
parent e7f3a3f7b7
commit 8a1cae45a3
3 changed files with 1 additions and 3 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View file

@ -38,8 +38,6 @@ async function run(): Promise<void> {
ignoreReturnCode: true, ignoreReturnCode: true,
} }
); );
core.info(`debug stdout: ${output.stdout}`);
core.info(`debug stderr: ${output.stderr}`);
process.env["REVIEWDOG_GITHUB_API_TOKEN"] = core.getInput("github_token"); process.env["REVIEWDOG_GITHUB_API_TOKEN"] = core.getInput("github_token");
return await exec.exec( return await exec.exec(
@ -55,7 +53,7 @@ async function run(): Promise<void> {
], ],
{ {
cwd, cwd,
input: Buffer.from(output.stdout, "utf-8"), input: Buffer.from(output.stderr, "utf-8"),
ignoreReturnCode: true, ignoreReturnCode: true,
} }
); );