forked from BgLUG/bglug.it
test 23
All checks were successful
Check for disallowed chars / unicode-check (pull_request) Successful in 2m24s
All checks were successful
Check for disallowed chars / unicode-check (pull_request) Successful in 2m24s
This commit is contained in:
parent
261b1604a1
commit
26baf86c87
@ -9,8 +9,12 @@ echo
|
|||||||
# considera solo i file che terminano con .md
|
# considera solo i file che terminano con .md
|
||||||
# ogni file viene controllato con markdownlint, con la config comune
|
# ogni file viene controllato con markdownlint, con la config comune
|
||||||
|
|
||||||
|
EXIT=0
|
||||||
|
|
||||||
while read -r LINE; do
|
while read -r LINE; do
|
||||||
echo
|
echo
|
||||||
echo "testing file: $LINE"
|
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$)
|
done < <(git diff --name-only "$1" "$2" content/ | grep \.md$)
|
||||||
|
|
||||||
|
exit ${EXIT}
|
||||||
|
@ -6,6 +6,5 @@ invalid char: `’`
|
|||||||
|
|
||||||
asd’asd
|
asd’asd
|
||||||
|
|
||||||
|
|
||||||
asdaksjdlaj slkas jdlkajs ldkasj lkasj dlkasjdlk ajsldkajs dlkjasklsaj lkaj sldkj lkej lkeajf alsdkjf asldkfj
|
asdaksjdlaj slkas jdlkajs ldkasj lkasj dlkasjdlk ajsldkajs dlkjasklsaj lkaj sldkj lkej lkeajf alsdkjf asldkfj
|
||||||
anche!!!
|
anche!!!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user