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 8ff8626 commit ba1b73b
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 @@ -37,7 +37,7 @@ if [[ ! -z ${FILES} ]]; then
echo "Formating extensions..."
EXPECTED_EXTENSIONS=".($(printf $(echo ${EXTENSIONS} | sed 's| ||g' | sed 's/,/|/g')))$"
echo "Filtering files with ${EXPECTED_EXTENSIONS}..."
CHANGED_FILES=$(printf $(echo ${FILES} | sed 's| |\\n|g') | grep -E "${EXPECTED_EXTENSIONS}")
CHANGED_FILES=$(eval `printf $(echo ${FILES} | sed 's| |\\n|g') | grep -E "${EXPECTED_EXTENSIONS}"`)
if [[ -z ${CHANGED_FILES} ]]; then
echo "Skipping: No files to lint"
exit 0;
Expand Down

0 comments on commit ba1b73b

Please sign in to comment.