From 267ae2dc60892bb6ab3b66a0b7d21104f6761a04 Mon Sep 17 00:00:00 2001 From: Ziad Mostafa Date: Wed, 3 May 2023 14:28:39 +0200 Subject: [PATCH] iox-#921 Enable fixing markdown errors Signed-off-by: Ziad Mostafa --- tools/scripts/markdownlint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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