mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
build: suppress lint-md output
We don't need to print out the output if we've already installed it, at the same time we do want to see some output when we haven't installed. PR-URL: https://github.com/nodejs/node/pull/16551 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
This commit is contained in:
6
Makefile
6
Makefile
@@ -976,9 +976,11 @@ lint-md-clean:
|
||||
$(RM) -r tools/remark-preset-lint-node/node_modules
|
||||
|
||||
lint-md-build:
|
||||
if [ ! -d tools/remark-cli/node_modules ]; then \
|
||||
@if [ ! -d tools/remark-cli/node_modules ]; then \
|
||||
echo "Markdown linter: installing remark-cli into tools/"; \
|
||||
cd tools/remark-cli && ../../$(NODE) ../../$(NPM) install; fi
|
||||
if [ ! -d tools/remark-preset-lint-node/node_modules ]; then \
|
||||
@if [ ! -d tools/remark-preset-lint-node/node_modules ]; then \
|
||||
echo "Markdown linter: installing remark-preset-lint-node into tools/"; \
|
||||
cd tools/remark-preset-lint-node && ../../$(NODE) ../../$(NPM) install; fi
|
||||
|
||||
lint-md: lint-md-build
|
||||
|
||||
Reference in New Issue
Block a user