mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
build: fix LINT_MD_NEWER assignment
Indentation with a tab breaks the functionality, resulting in linting all .md files when any one is changed. For consistency with the rest of the Makefile and to restore functionality, remove indentation. Refs: https://github.com/nodejs/node/pull/32614#issuecomment-610670779 PR-URL: https://github.com/nodejs/node/pull/32712 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
4
Makefile
4
Makefile
@@ -1233,9 +1233,9 @@ lint-md-build:
|
||||
$(warning "Deprecated no-op target 'lint-md-build'")
|
||||
|
||||
ifeq ("$(wildcard tools/.mdlintstamp)","")
|
||||
LINT_MD_NEWER =
|
||||
LINT_MD_NEWER =
|
||||
else
|
||||
LINT_MD_NEWER = -newer tools/.mdlintstamp
|
||||
LINT_MD_NEWER = -newer tools/.mdlintstamp
|
||||
endif
|
||||
|
||||
LINT_MD_TARGETS = doc src lib benchmark test tools/doc tools/icu $(wildcard *.md)
|
||||
|
||||
Reference in New Issue
Block a user