Skip to content

Commit 203776f

Browse files
committed
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: nodejs#32614 (comment) PR-URL: nodejs#32712 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent ea4b0bc commit 203776f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1233,9 +1233,9 @@ lint-md-build:
12331233
$(warning "Deprecated no-op target 'lint-md-build'")
12341234

12351235
ifeq ("$(wildcard tools/.mdlintstamp)","")
1236-
LINT_MD_NEWER =
1236+
LINT_MD_NEWER =
12371237
else
1238-
LINT_MD_NEWER = -newer tools/.mdlintstamp
1238+
LINT_MD_NEWER = -newer tools/.mdlintstamp
12391239
endif
12401240

12411241
LINT_MD_TARGETS = doc src lib benchmark test tools/doc tools/icu $(wildcard *.md)

0 commit comments

Comments
 (0)