From 247a648057bcf30ddede810f9d675912a37bea04 Mon Sep 17 00:00:00 2001 From: Alex Lo Date: Thu, 19 Sep 2024 15:10:03 -0300 Subject: [PATCH] fix: macos compatible xargs (-0 == --null) (#392) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 398e9887..cba28d0a 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "eslint-fix": "eslint --fix .", "format": "prettier --write .", "install-all": "npm install --save", - "markdown-link-check": "find . -name '*.md' -not \\( -path './node_modules/*' -o -path './configeditor/build/*' -o -path '*/.terraform/*' -o -path './CHANGELOG.md' -prune \\) -print0 | xargs --null markdown-link-check --config markdown-link-checker.json --quiet", + "markdown-link-check": "find . -name '*.md' -not \\( -path './node_modules/*' -o -path './configeditor/build/*' -o -path '*/.terraform/*' -o -path './CHANGELOG.md' -prune \\) -print0 | xargs -0 markdown-link-check --config markdown-link-checker.json --quiet", "mdlint": "markdownlint '**/*.md' --config .mdl.json --ignore '**/node_modules/**' --ignore '**/build/**' --ignore 'code-of-conduct.md' --ignore 'CHANGELOG.md'", "poller-job": "node -e \"require('./src/poller/index').main()\"", "prepare": "{ git rev-parse --is-inside-work-tree >/dev/null 2>/dev/null && test \"$NODE_ENV\" != production -a \"$CI\" != true && husky ; } || true",