diff options
author | Richard Lau <riclau@uk.ibm.com> | 2019-06-07 21:45:01 -0400 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-06-12 21:03:57 -0700 |
commit | d74dc17afe883128f7e7163785570861c6571757 (patch) | |
tree | 51b223af08ef1d083310b952110151111d60624e /Makefile | |
parent | 173bee230e643345876f22b7469beb253c1c9473 (diff) | |
download | android-node-v8-d74dc17afe883128f7e7163785570861c6571757.tar.gz android-node-v8-d74dc17afe883128f7e7163785570861c6571757.tar.bz2 android-node-v8-d74dc17afe883128f7e7163785570861c6571757.zip |
build: lint all docs under doc
`**` expansion doesn't behave as expected and as a result files in
nested subdirectories under `doc` were not linted. Use `find` instead
to generate the list of files to lint.
PR-URL: https://github.com/nodejs/node/pull/28128
Refs: https://github.com/nodejs/node/pull/28127
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1159,7 +1159,7 @@ lint-md-clean: lint-md-build: $(warning "Deprecated no-op target 'lint-md-build'") -LINT_MD_DOC_FILES = $(shell ls doc/*.md doc/**/*.md) +LINT_MD_DOC_FILES = $(shell find doc -type f -name '*.md') run-lint-doc-md = tools/lint-md.js -q -f $(LINT_MD_DOC_FILES) # Lint all changed markdown files under doc/ tools/.docmdlintstamp: $(LINT_MD_DOC_FILES) |