Skip to content

Commit

Permalink
fix: remove warn_ignored option (#2123)
Browse files Browse the repository at this point in the history
* fix: remove warn_ignored option

* Update entrypoint.sh
  • Loading branch information
jackton1 authored Oct 14, 2024
1 parent 7bd34b0 commit 763c664
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ inputs:
description: "Escaped changed file paths passed to ESLint. NOTE: This defaults to `true` to prevent command injection."
required: false
default: true
warn_ignored:
description: "This option suppresses warning for both File ignored by default and File ignored because of a matching ignore patterns."
required: false
default: false

runs:
using: 'composite'
Expand Down Expand Up @@ -121,7 +117,6 @@ runs:
INPUT_FAIL_ON_ERROR: ${{ inputs.fail_on_error }}
INPUT_REPORTER: ${{ inputs.reporter }}
INPUT_SKIP_ANNOTATIONS: ${{ inputs.token && inputs.skip_annotations || 'true' }}
INPUT_WARN_IGNORED: ${{ inputs.warn_ignored }}

branding:
icon: check-square
Expand Down
4 changes: 0 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ fi
EXTRA_ARGS="$INPUT_EXTRA_ARGS"
CONFIG_ARG=""

if [[ "$INPUT_WARN_IGNORED" == "false" ]]; then
EXTRA_ARGS="$EXTRA_ARGS --no-warn-ignored"
fi

if [[ -n "$INPUT_CONFIG_PATH" ]]; then
CONFIG_ARG="--config=${INPUT_CONFIG_PATH}"
fi
Expand Down

0 comments on commit 763c664

Please sign in to comment.