diff --git a/sanity_check.sh b/sanity_check.sh index c832ef7..d533150 100755 --- a/sanity_check.sh +++ b/sanity_check.sh @@ -5,7 +5,7 @@ echo "Loading the Markdown files that have changed" for x in $(git diff --name-only HEAD origin/main -- "articles/*.md") do is_valid_md=$(python validate_markdown_metadata.py $x) - if $is_valid_md; then + if [[ $is_valid_md == "True" ]]; then echo "Validating file $x" else echo "File $x failed"