Skip to content

Commit

Permalink
Hide autodoc logs (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
onelxj authored Sep 30, 2024
1 parent 709d954 commit 130d5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check-style.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ if [ ! -z "${affected_files}" ]; then
markdown_files=$(find . -type f -iname '*.md')
unindent_auto_doc_script=$(find . -type f -name 'unindent_auto_doc.py')
pre_autodocs_checksum=$(calculate_checksum $markdown_files)
run_check markdown-autodocs -c code-block -o ${markdown_files} && python $unindent_auto_doc_script ${markdown_files} > /dev/null
run_check markdown-autodocs -c code-block -o ${markdown_files} > /dev/null && python $unindent_auto_doc_script ${markdown_files} > /dev/null
post_autodocs_checksum=$(calculate_checksum $markdown_files)
if [ "$pre_autodocs_checksum" != "$post_autodocs_checksum" ]; then
echo "There are code changes after running 'markdown-autodocs'."
Expand Down

0 comments on commit 130d5ef

Please sign in to comment.