summaryrefslogtreecommitdiff
path: root/.husky/pre-commit
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2025-12-19 14:43:27 +0100
committerDawid Rycerz <dawid@rycerz.xyz>2025-12-19 14:43:27 +0100
commitbb6624513223093219b595109d96d50291cabc0d (patch)
treeb959c4b1135985ab4756e72666ff81626277e71a /.husky/pre-commit
parentc25a63106441bf0c0384a3a4ea1f373e27b63e60 (diff)
Add fediverse blogpost
Diffstat (limited to '.husky/pre-commit')
-rwxr-xr-x.husky/pre-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/.husky/pre-commit b/.husky/pre-commit
index 32f797b..bb78b27 100755
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -43,7 +43,7 @@ fi
# Check if dist directory exists before running lychee
if [ -d "dist" ]; then
echo "🔗 Running lychee check on dist directory..."
- lychee src/content --no-progress --exclude-private --max-retries 1 --timeout 10
+ lychee src/content --no-progress --exclude-private --max-retries 1 --timeout 10 --root-dir dist
if [ $? -ne 0 ]; then
echo "⚠️ Lychee found broken links (this won't block the commit)"
fi