diff options
Diffstat (limited to '.husky')
| -rwxr-xr-x | .husky/pre-commit | 2 |
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 |
