forked from BgLUG/bglug.it
test 23
Some checks failed
Check for disallowed chars / unicode-check (pull_request) Failing after 2m16s
Some checks failed
Check for disallowed chars / unicode-check (pull_request) Failing after 2m16s
This commit is contained in:
parent
261b1604a1
commit
4f4d154d6a
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user