diff --git a/.bin/check-file-for-starting-slash b/.bin/check-file-for-starting-slash index 0c6c7001..b7f042b4 100644 --- a/.bin/check-file-for-starting-slash +++ b/.bin/check-file-for-starting-slash @@ -8,7 +8,8 @@ modified_files="$1" for modified_file in $modified_files do echo "[+] Check $modified_file ..." - matches=$(grep -cE '^/[a-zA-Z0-9\._]+' $modified_file) + matches=$(grep -cE '^/[a-zA-Z0-9\._]+' $modified_file) + 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."