From 40cd456fe0a8adb2092d5c22d81660dd6d91f092 Mon Sep 17 00:00:00 2001 From: Takayuki Nakata Date: Mon, 5 Dec 2022 22:44:41 +0900 Subject: [PATCH] Suppress Clippy logs --- dist/index.js | Bin 239692 -> 239818 bytes dist/index.js.map | Bin 278670 -> 278808 bytes src/main.ts | 2 ++ 3 files changed, 2 insertions(+) diff --git a/dist/index.js b/dist/index.js index 056e5e54902c7ed36efb1ce76a2606ebaed78aca..65baefa1e7d74a5fd5fd59abcb60eab4d65169f0 100644 GIT binary patch delta 91 zcmX?ef$!8sz74`M+{rna1qGEZsY#{jlkZDQvZjDp{IZIhg=N%OWs5U&Qu9iz6p)lD hDB9X8sFxI#rcQQH5O20rY`0Wo1Y)M`mWs^6?EvC69q#}D delta 31 lcmX?gk?+g}z74`Mn`33vSev&iwr^Kt1Y)M`+ZCCG+X2vM3(^1p diff --git a/dist/index.js.map b/dist/index.js.map index cef6ec626090544c2b5fa7cf93901eb66af72b26..67ab7c7956d4794c7194272b6a02aad46d1af406 100644 GIT binary patch delta 138 zcmeBc6r9l{xZ#eLW^ztuK|!TUYEo&sf~`Vweo?AkdTNPhUO{PzhB`ztJ_RH@`L?#w z<~v%ptTM%!IjMOiRtm^k6>V)5)Juv=rz<8giB5JfWNDT(XqPl#1Y)M`k_OCNlcy)} Zvk0+TJ33c+Z8v { 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