Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored May 24, 2020
1 parent 9ec69e7 commit 0db27b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ FILES=$(git diff --diff-filter=ACM --name-only ${HEAD_SHA} || true)
if [[ ! -z ${FILES} ]]; then
echo "Formating extensions..."
EXPECTED_EXTENSIONS=$(printf $(echo ${EXTENSIONS} | sed 's| ||g' | sed 's/,/|/g'))
echo "Filtering files..."
echo "Filtering files with ${EXTENSIONS}..."
CHANGED_FILES=$(printf $(echo ${FILES} | sed 's| |\\n|g') | grep -E ".(${EXPECTED_EXTENSIONS})$")
if [[ -z ${CHANGED_FILES} ]]; then
echo "Skipping: No files to lint"
Expand Down

0 comments on commit 0db27b3

Please sign in to comment.