Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
babakamyljanovssw committed Sep 20, 2024
1 parent b5e0f78 commit 9384277
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test-check-extension-case.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
for filename in "${myarray[@]}"
do
fileExtension=$(echo $filename | sed 's/"//g' | sed 's/]//g' | grep -oE '.{3,4}$')
echo "Checking file: $filename"
fileExtension="${filename##*.}"
lowercaseFileExtension=$(echo "$fileExtension" | tr '[:upper:]' '[:lower:]')
if [ $lowercaseFileExtension == 'gif' ] || \
[ $lowercaseFileExtension == 'svg' ] || \
Expand Down

0 comments on commit 9384277

Please sign in to comment.