Skip to content

Commit

Permalink
Merge pull request #10 from Joshua-Donovan/GUID-Validation
Browse files Browse the repository at this point in the history
GUID Validation Bug Fix for trailing backspaces in file path
  • Loading branch information
Joshua-Donovan authored Sep 18, 2024
2 parents eba5955 + e1a1438 commit f6f204a
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,15 @@ jobs:
echo " Info: changed files converted to array, ready to check each file..."
for file in "${files[@]}"; do
echo " Checking file name: ${file}"
for rawfile in "${files[@]}"; do
echo " Checking file name: ${rawfile}"
# Trim backspaces from the file name
file=$(echo $rawfile | tr -d '\\')
echo " Trimmed file name: ${file}"
echo ""
if echo "$file" | grep -q 'github/workflows'; then
echo ' \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/////////////////////////////////'
echo ' | |'
Expand Down

0 comments on commit f6f204a

Please sign in to comment.