diff --git a/scripts/mdlint.sh b/scripts/mdlint.sh index a65390588be..48bd319f162 100755 --- a/scripts/mdlint.sh +++ b/scripts/mdlint.sh @@ -8,13 +8,13 @@ docker run -v ./book:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest '**/ # exit code exit_code=$(echo $?) -echo $exit_code +# echo $exit_code if [[ $exit_code == 0 ]]; then echo "All markdown files are properly formatted." elif [[ $exit_code == 1 ]]; then echo "Exiting with exit code $exit_code. Run 'make mdlint' locally and commit the changes." - docker run -v ./book:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest '**/*.md' --ignore node_modules --fix + #docker run -v ./book:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest '**/*.md' --ignore node_modules --fix else echo "Exiting with exit code >1. Check for the error logs and fix them accordingly." fi