From 04f844694c4ba4d9b853ae08558e0992d8c94b0a Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Sat, 13 Jan 2024 08:20:13 -0500 Subject: [PATCH] Try to get check:links--md to work under Windows bash --- .github/workflows/test.yaml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index ece67a9d9..e47ee83a2 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 diff --git a/package.json b/package.json index 21c9a736a..1d8718628 100644 --- a/package.json +++ b/package.json @@ -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": "npx markdown-link-check --config .markdown-link-check.json `ls *.md`", "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",