Skip to content

Commit

Permalink
updated markdown_generate_index.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Aug 17, 2024
1 parent bc3aac0 commit 5babd50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git/markdown_generate_index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ fi
# since we now strip ```code``` blocks we must ensure that they match otherwise this code cannot
# reliably run as it'll result in stripping out valid headings

if [ "$(( $(grep -c '^```' "$markdown_filek) % 2))" != 0 ]; then
if [ "$(( $(grep -c '^```' "$markdown_file") % 2))" != 0 ]; then
die "Error - uneven number of code blocks found in file: $markdown_file"
fi

Expand Down

0 comments on commit 5babd50

Please sign in to comment.