diff options
author | Rich Trott <rtrott@gmail.com> | 2020-04-08 02:34:53 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-04-10 05:57:32 +0300 |
commit | 203776fb7185092fa0e2e3a854c7c4595304eb83 (patch) | |
tree | b911ae25bcc5698f462d1e0c5d22cbb2cca2e7f5 /Makefile | |
parent | ea4b0bcb3cf13a5b94b358e1d60ec91dc9297f8f (diff) |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |