Update wordlist-validator_verify_entries_for_starting_with_slash.yml

This commit is contained in:
Dominique RIGHETTO 2022-11-01 15:22:43 +01:00 committed by GitHub
parent 3a6adeb274
commit f7841cffbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,8 @@ jobs:
for modified_file in ${{ steps.changed-files.outputs.all_changed_files }}
do
echo "[+] Check $modified_file ..."
matches=$(grep -Ec "^/[a-zA-Z0-9\._]+" $modified_file)
grep -Ec '^/[a-zA-Z0-9\._]+' $modified_file
matches=$(grep -Ec '^/[a-zA-Z0-9\._]+' $modified_file)
echo "Matches: $matches"
if [ $matches -ne 0 ];
then