Skip to content

Commit

Permalink
Remove debug messages (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Nov 6, 2022
1 parent 3d0de11 commit 6b1b9b1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,24 +116,20 @@ runs:
excludes+=("! -path *.go")
excludes+=("! -path */mvnw")
if [[ -n "${INPUT_IGNORE}" ]]; then
echo "::warning::ignore is deprecated. Please use ignore_paths instead"
for path in ${INPUT_IGNORE}; do
echo "::debug:: Adding '$path' to excludes"
excludes+=("! -path *./$path/*")
excludes+=("! -path */$path/*")
excludes+=("! -path $path")
done
else
for path in ${INPUT_IGNORE_PATHS}; do
echo "::debug:: Adding '$path' to excludes"
excludes+=("! -path *./$path/*")
excludes+=("! -path */$path/*")
excludes+=("! -path $path")
done
fi
for name in ${INPUT_IGNORE_NAMES}; do
echo "::debug:: Adding '$name' to excludes"
excludes+=("! -name $name")
done
echo "excludes=${excludes[@]}" >> $GITHUB_OUTPUT
Expand All @@ -148,7 +144,6 @@ runs:
run: |
declare -a files
for file in ${INPUT_ADDITIONAL_FILES}; do
echo "::debug:: Adding '$file' to additional files"
files+=("-o -name *$file")
done
echo "files=${files[@]}" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -219,7 +214,6 @@ runs:
"${filepaths[@]}" || statuscode=$?
else
for file in "${filepaths[@]}"; do
echo "::debug::Checking '$file'"
"${{ github.action_path }}/shellcheck" \
${INPUT_SHELLCHECK_OPTIONS} \
"$file" || statuscode=$?
Expand Down

0 comments on commit 6b1b9b1

Please sign in to comment.