From 8a1cae45a386b4066048823120f30807040e7e43 Mon Sep 17 00:00:00 2001 From: Takayuki Nakata Date: Tue, 1 Nov 2022 22:24:35 +0900 Subject: [PATCH] Use stderr --- dist/index.js | Bin 237187 -> 237065 bytes dist/index.js.map | Bin 275910 -> 275776 bytes src/main.ts | 4 +--- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index 8cb4e332b143c3aedaec755cabcb3532185c0269..461eceabc85c9334f75e04205ec19d3346e67eac 100644 GIT binary patch delta 40 ucmZqP%h$PwZv&IU^a493j?FC!oJ`EAMMcdMl-egKF#<8u_6bVNpQ`~J1`YK9 delta 146 zcmeC&!`Hl*Zv&IUB2>jd0kGoDObUWbJU~Nq6qHI!(sV79CT~;}o;*Q;WpeaCp=J-Ib`K>+AZFU` Jp~QT!8UVrWF{c0k diff --git a/dist/index.js.map b/dist/index.js.map index 9f77ae0159212c9484c19d9ed495ced260f62c29..7dfbac1489602f38b23200b6e30171b7731e1132 100644 GIT binary patch delta 62 zcmX^1THwGdferfl)8nF;I5uzAmtta0Eh=ihVAy`akP(QPwqG!0Zfu)gy^WcByY(*S P(~Q&W4>NOtnBCO?CLI|i delta 167 zcmX@`O5oUQferfllP4IlDre@UFMDX3Hfse;lHJ&3^c1_?$n zkYWWi#i>O_sEViSUtyHotgo-c#1AwHoJfb2FN6f4H4Fz7_!IVmf>P diff --git a/src/main.ts b/src/main.ts index e8295a6..87536a6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -38,8 +38,6 @@ async function run(): Promise { ignoreReturnCode: true, } ); - core.info(`debug stdout: ${output.stdout}`); - core.info(`debug stderr: ${output.stderr}`); process.env["REVIEWDOG_GITHUB_API_TOKEN"] = core.getInput("github_token"); return await exec.exec( @@ -55,7 +53,7 @@ async function run(): Promise { ], { cwd, - input: Buffer.from(output.stdout, "utf-8"), + input: Buffer.from(output.stderr, "utf-8"), ignoreReturnCode: true, } );