Skip to content

Commit

Permalink
Merge pull request #64 from gaurav-nelson/modified-issue-fix
Browse files Browse the repository at this point in the history
modified files exten fix
  • Loading branch information
gaurav-nelson committed Aug 7, 2020
2 parents 026b51a + 3b75d22 commit 02e1702
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 @@ -81,7 +81,7 @@ if [ "$CHECK_MODIFIED_FILES" = "yes" ]; then

for i in "${FILE_ARRAY[@]}"
do
if [ "${i##*.}" = "${FILE_EXTENSION}" ]; then
if [ "${i##*.}" == "${FILE_EXTENSION#.}" ]; then
FIND_CALL+=("${i}")
COMMAND="${FIND_CALL[*]}"
$COMMAND &>> error.txt || true
Expand Down

0 comments on commit 02e1702

Please sign in to comment.