Skip to content

Commit

Permalink
Try to get check:links--md to work under Windows bash
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Jan 13, 2024
1 parent cfc7377 commit 37093f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
npm run check
git diff
# Shell spec needed only because of the file glob in the script `check:links--md`
shell: bash
# shell: bash
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"cd:docs": "npm run _cd:docs -- npm run",
"check": "npm run check:format && npm run check:links--md",
"check:format": "npm run _check:format || (echo '[help] Run: npm run fix:format'; exit 1)",
"check:links--md": "npx markdown-link-check --config .markdown-link-check.json *.md",
"check:links--md": "ls *.md | xargs npx markdown-link-check --config .markdown-link-check.json",
"check:links:all": "npm run cd:docs check:links:all",
"check:links": "npm run cd:docs check:links",
"docs-install": "npm run _cd:docs -- npm install",
Expand Down
2 changes: 1 addition & 1 deletion tools/make-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ $HUGO

set +x

echo "[INFO] $SITE_NAME has been successfully created, set up, and built."
echo "[INFO] $SITE_NAME successfully created, set up, and built."

0 comments on commit 37093f6

Please sign in to comment.