Update wordlist-validator_verify_entries_for_starting_with_slash.yml

This commit is contained in:
Dominique RIGHETTO 2022-11-01 15:25:57 +01:00 committed by GitHub
parent 0a7cb0d44e
commit 5bc97eba06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,8 +31,7 @@ jobs:
for modified_file in ${{ steps.changed-files.outputs.all_changed_files }}
do
echo "[+] Check $modified_file ..."
grep -Ec '^/[a-zA-Z0-9\._]+' $modified_file
matches=$(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