Skip to content

Commit e79f037

Browse files
committed
tools: lint doc/*.md files
Makefile tasks only lint doc/**/*.md files but omit files that match doc/*.md. This change adds these previously-omitted files to the list of files to be linted.
1 parent 302c2e0 commit e79f037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ lint-md-build: tools/remark-cli/node_modules \
10441044
.PHONY: lint-md
10451045
ifneq ("","$(wildcard tools/remark-cli/node_modules/)")
10461046

1047-
LINT_MD_DOC_FILES = $(shell ls doc/**/*.md)
1047+
LINT_MD_DOC_FILES = $(shell ls doc/*.md doc/**/*.md)
10481048
run-lint-doc-md = tools/remark-cli/cli.js -q -f $(LINT_MD_DOC_FILES)
10491049
# Lint all changed markdown files under doc/
10501050
tools/.docmdlintstamp: $(LINT_MD_DOC_FILES)

0 commit comments

Comments
 (0)