Commit f368565c authored by Jurriaan H. Spaaks's avatar Jurriaan H. Spaaks
Browse files

updated 'npm run mlc' command to exclude directories we don't have and make...

updated 'npm run mlc' command to exclude directories we don't have and make the script work when you have a docker-volumes directory owned by root
parent 3b44b415
......@@ -9,7 +9,7 @@
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"mlc": "find . -name '*.md' -not -path './node_modules/*' -not -path './ui/ui/node_modules/*' -exec markdown-link-check '{}' --config .mlc-config.json ';'"
"mlc": "find `ls -1 | grep -v docker-volumes | grep -v node_modules` -name '*.md' -exec markdown-link-check '{}' --config .mlc-config.json ';'"
},
"repository": {
"type": "git",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment