diff --git a/tools/scripts/markdownlint.sh b/tools/scripts/markdownlint.sh index 136162e0e7..936c80a4bd 100755 --- a/tools/scripts/markdownlint.sh +++ b/tools/scripts/markdownlint.sh @@ -62,7 +62,7 @@ if [[ "$SCOPE" == "hook"* ]]; then done fi elif [[ "$SCOPE" == "full"* ]]; then - git ls-files | grep -E "\.md"| xargs markdownlint --output ./markdownlint.log --config ./.markdownlint.yaml + git ls-files | grep -E "\.md"| xargs markdownlint --output ./markdownlint.log --config ./.markdownlint.yaml --fix elif [[ "$SCOPE" == "check"* ]]; then - git ls-files | grep -E "\.md"| xargs markdownlint --output ./markdownlint.log --config ./.markdownlint.yaml + git ls-files | grep -E "\.md"| xargs markdownlint --output ./markdownlint.log --config ./.markdownlint.yaml --fix fi