Skip to content

Commit

Permalink
mdlink-check.sh: Add comment about why we are setting the magic conf
Browse files Browse the repository at this point in the history
  • Loading branch information
yorinasub17 committed Feb 5, 2020
1 parent f9b8feb commit f0f78b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hooks/mdlink-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ if ! command -v markdown-link-check; then
exit 1
fi

# This is the recommended way to set the project root for properly resolving absolute paths. See
# https://github.com/tcort/markdown-link-check/issues/16 for more info.
TMP_CONFIG="$(mktemp)"
cat > "$TMP_CONFIG" <<EOF
{
Expand Down

0 comments on commit f0f78b6

Please sign in to comment.