Skip to content

Commit

Permalink
chore: update input name
Browse files Browse the repository at this point in the history
  • Loading branch information
adthrasher committed Sep 19, 2024
1 parent f81a9a9 commit e80f384
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ if [ ${INPUT_DENY-NOTES} = "true" ]; then
notes="--deny-notes"
fi

while [ "$#" -gt 0 ]; do
arg=$1
case $1 in
-l|--lint) lint="--lint"; shift;;
-w|--deny-warnings) warnings="--deny-warnings"; shift;;
-n|--deny-notes) notes="--deny-notes"; shift;;
''|"") shift;;
*) break;;
esac
done

exclusions=${INPUT_EXCLUDE-PATHS}
# while [ "$#" -gt 0 ]; do
# arg=$1
# case $1 in
# -l|--lint) lint="--lint"; shift;;
# -w|--deny-warnings) warnings="--deny-warnings"; shift;;
# -n|--deny-notes) notes="--deny-notes"; shift;;
# ''|"") shift;;
# *) break;;
# esac
# done

exclusions=${INPUT_EXCLUDE-PATTERNS}

if [ -n "$exclusions" ]; then
echo "Exclusions provided. Writing to .sprocket.yml."
Expand Down

0 comments on commit e80f384

Please sign in to comment.