diff --git a/dist/index.js b/dist/index.js index 056e5e5..65baefa 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index cef6ec6..67ab7c7 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/main.ts b/src/main.ts index 4ffa283..3c109b8 100644 --- a/src/main.ts +++ b/src/main.ts @@ -14,6 +14,7 @@ async function run(): Promise { const reviewdogVersion = core.getInput('reviewdog_version') || 'latest' const toolName = core.getInput('tool_name') || 'clippy' const clippyFlags = core.getInput('clippy_flags') + const clippyDebug = core.getInput('clippy_debug') || 'false' const level = core.getInput('level') || 'error' const reporter = core.getInput('reporter') || 'github-pr-check' const filterMode = core.getInput('filter_mode') || 'added' @@ -50,6 +51,7 @@ async function run(): Promise { { cwd, ignoreReturnCode: true, + silent: clippyDebug !== 'true', listeners: { stdline: (line: string) => { let content: CompilerMessage