Skip to content

Commit b142486

Browse files
committed
Fix copy-pasta error with 'fix' message
1 parent 6713e73 commit b142486

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lint

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,16 @@ all() {
4343
echo "lint: PASS"
4444
else
4545
echo "lint: FAIL"
46-
echo "Try '\''./lint --fix'\'' to see if any automatic fixes are possible"
46+
echo "Try './lint --fix' to see if any automatic fixes are possible"
4747
fi
4848

4949
return $rc
5050
}
5151

5252
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
53+
npm exec -- markdownlint --ignore 'node_modules/' --fix '**/*.md' || :
54+
npm exec -- prettier --write . || :
55+
elif [ "${1:-}" == "validate-links" ] ; then
5756
validate-links
5857
else
5958
all

0 commit comments

Comments
 (0)