Skip to content

Commit 98426fa

Browse files
committed
Trailing slash is significant in replacement
1 parent 66b6f7b commit 98426fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/mdlink-check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ cat > "$TMP_CONFIG" <<EOF
1313
"replacementPatterns": [
1414
{
1515
"pattern": "^/",
16-
"replacement": "file://$(pwd)"
16+
"replacement": "file://$(pwd)/"
1717
}
1818
]
1919
}

0 commit comments

Comments
 (0)