mirror of
https://github.com/giraffate/clippy-action.git
synced 2024-11-21 15:39:32 +01:00
commit
13b9d32482
3 changed files with 2 additions and 0 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.
|
@ -14,6 +14,7 @@ async function run(): Promise<void> {
|
||||||
const reviewdogVersion = core.getInput('reviewdog_version') || 'latest'
|
const reviewdogVersion = core.getInput('reviewdog_version') || 'latest'
|
||||||
const toolName = core.getInput('tool_name') || 'clippy'
|
const toolName = core.getInput('tool_name') || 'clippy'
|
||||||
const clippyFlags = core.getInput('clippy_flags')
|
const clippyFlags = core.getInput('clippy_flags')
|
||||||
|
const clippyDebug = core.getInput('clippy_debug') || 'false'
|
||||||
const level = core.getInput('level') || 'error'
|
const level = core.getInput('level') || 'error'
|
||||||
const reporter = core.getInput('reporter') || 'github-pr-check'
|
const reporter = core.getInput('reporter') || 'github-pr-check'
|
||||||
const filterMode = core.getInput('filter_mode') || 'added'
|
const filterMode = core.getInput('filter_mode') || 'added'
|
||||||
|
@ -50,6 +51,7 @@ async function run(): Promise<void> {
|
||||||
{
|
{
|
||||||
cwd,
|
cwd,
|
||||||
ignoreReturnCode: true,
|
ignoreReturnCode: true,
|
||||||
|
silent: clippyDebug !== 'true',
|
||||||
listeners: {
|
listeners: {
|
||||||
stdline: (line: string) => {
|
stdline: (line: string) => {
|
||||||
let content: CompilerMessage
|
let content: CompilerMessage
|
||||||
|
|
Loading…
Reference in a new issue