Fix error

This commit is contained in:
Dominique RIGHETTO 2022-11-01 16:07:27 +01:00 committed by GitHub
parent ee7654154f
commit 4f9d7ea8f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ for modified_file in $modified_files
do
echo "[+] Check $modified_file ..."
matches=$(grep -cE '^/[a-zA-Z0-9\._]+' $modified_file)
echo "Entries identified starting with a slash: matches"
echo "Entries identified starting with a slash: $matches"
if [ $matches -ne 0 ]
then
echo "::warning file=$modified_file,line=1,col=1,endColumn=1::$matches entries start with a slash."