Skip to content

Commit f0f78b6

Browse files
committed
mdlink-check.sh: Add comment about why we are setting the magic conf
1 parent f9b8feb commit f0f78b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hooks/mdlink-check.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ if ! command -v markdown-link-check; then
1313
exit 1
1414
fi
1515

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

0 commit comments

Comments
 (0)