Skip to content

Commit

Permalink
Run link checks on 1 file at a time
Browse files Browse the repository at this point in the history
markdown-link-check seems to have intermittent errors when checking
multiple files at a time. This change might be a workaround.
  • Loading branch information
d10n committed Aug 15, 2024
1 parent fbaf858 commit 150509a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ $(LINKCHECK_OUTPUT): node_modules $(LINKCHECK_CONFIG)
@mkdir -p $(GENERATED_DIR)
@echo Checking Markdown links...
cd ..; git ls-files -z "*.md" | \
xargs -0 npx --prefix build/ markdown-link-check -c build/$(LINKCHECK_CONFIG) | \
xargs -0n1 npx --prefix build/ markdown-link-check -c build/$(LINKCHECK_CONFIG) | \
tee build/$(LINKCHECK_OUTPUT); \
exit $${PIPESTATUS[1]}

Expand Down

0 comments on commit 150509a

Please sign in to comment.