From 7f5823f47491826a06b1b5836b51c60100952064 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 --- package.json | 2 +- tools/make-site.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 21c9a736a2..1404a8a93d 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": "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", diff --git a/tools/make-site.sh b/tools/make-site.sh index c6911ad225..30ac261282 100755 --- a/tools/make-site.sh +++ b/tools/make-site.sh @@ -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."