mirror of
https://github.com/giraffate/clippy-action.git
synced 2024-11-21 15:39:32 +01:00
Use stderr
This commit is contained in:
parent
e7f3a3f7b7
commit
8a1cae45a3
3 changed files with 1 additions and 3 deletions
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
|
@ -38,8 +38,6 @@ async function run(): Promise<void> {
|
|||
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<void> {
|
|||
],
|
||||
{
|
||||
cwd,
|
||||
input: Buffer.from(output.stdout, "utf-8"),
|
||||
input: Buffer.from(output.stderr, "utf-8"),
|
||||
ignoreReturnCode: true,
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue