Skip to content

Commit

Permalink
iox-eclipse-iceoryx#921 Enable fixing markdown errors
Browse files Browse the repository at this point in the history
Signed-off-by: Ziad Mostafa <[email protected]>
  • Loading branch information
Ziad Mostafa committed May 3, 2023
1 parent 403271d commit 267ae2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/scripts/markdownlint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 267ae2d

Please sign in to comment.