test 23
All checks were successful
Check for disallowed chars / unicode-check (pull_request) Successful in 2m24s

This commit is contained in:
Paolo Asperti 2024-08-10 12:00:45 +02:00
parent 261b1604a1
commit 26baf86c87
Signed by: paspo
GPG Key ID: 06D46905D19D5182
2 changed files with 5 additions and 2 deletions

View File

@ -9,8 +9,12 @@ echo
# considera solo i file che terminano con .md
# ogni file viene controllato con markdownlint, con la config comune
EXIT=0
while read -r LINE; do
echo
echo "testing file: $LINE"
markdownlint --config .markdownlint.yaml "$LINE"
markdownlint --config .markdownlint.yaml "$LINE" || EXIT=1
done < <(git diff --name-only "$1" "$2" content/ | grep \.md$)
exit ${EXIT}

View File

@ -6,6 +6,5 @@ invalid char: ``
asdasd
asdaksjdlaj slkas jdlkajs ldkasj lkasj dlkasjdlk ajsldkajs dlkjasklsaj lkaj sldkj lkej lkeajf alsdkjf asldkfj
anche!!!