We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6713e73 commit b142486Copy full SHA for b142486
lint
@@ -43,17 +43,16 @@ all() {
43
echo "lint: PASS"
44
else
45
echo "lint: FAIL"
46
- echo "Try '\''./lint --fix'\'' to see if any automatic fixes are possible"
+ echo "Try './lint --fix' to see if any automatic fixes are possible"
47
fi
48
49
return $rc
50
}
51
52
if [ "${1:-}" == "--fix" ] ; then
53
- npm exec -- markdownlint --ignore 'node_modules/' --fix '**/*.md'
54
- npm exec -- prettier --write .
55
-elif
56
- [ "${1:-}" == "validate-links" ] ; then
+ npm exec -- markdownlint --ignore 'node_modules/' --fix '**/*.md' || :
+ npm exec -- prettier --write . || :
+elif [ "${1:-}" == "validate-links" ] ; then
57
validate-links
58
59
all
0 commit comments