Skip to content

Commit

Permalink
make invalid version red
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence authored Sep 18, 2023
1 parent 8f1a28e commit 4bf6000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/test-textfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ while IFS= read -r line; do

# Check if the version matches the pattern
if [[ ! $version =~ $version_pattern ]]; then
echo -e "${white}Invalid version: $version${red}"
echo -e "${red}Invalid version: $version${reset}"
valid_versions=false
fi
done <<< "$file_contents"
Expand Down

0 comments on commit 4bf6000

Please sign in to comment.