Skip to content

Commit dcacb62

Browse files
Update linkchecker script to skip missing links
Added the `--skip-missing` flag to the linkchecker command to avoid issues with missing links. This improves the script's handling of non-existent files during link validation.
1 parent 767f03a commit dcacb62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"preview": "astro preview",
1919
"astro": "astro",
2020
"validateredirects": "cd _to-migrate/urls && node test-urls.js",
21-
"linkchecker": " npm run build && lychee --no-progress --max-concurrency 16 --exclude-loopback --require-https --exclude sample.duendesoftware.com --exclude docs.duendesoftware.com --exclude sitemap --exclude github --root-dir \"$PWD/dist\" dist/**",
21+
"linkchecker": " npm run build && lychee --skip-missing --no-progress --max-concurrency 16 --exclude-loopback --require-https --exclude sample.duendesoftware.com --exclude docs.duendesoftware.com --exclude sitemap --exclude github --root-dir \"$PWD/dist\" dist/**",
2222
"FYI": "https://github.com/withastro/astro/issues/13006",
2323
"postinstall": "patch-package"
2424
},

0 commit comments

Comments
 (0)