summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2020-06-02 13:21:40 +0200
committerDaniel Bevenius <daniel.bevenius@gmail.com>2020-06-08 08:41:13 +0200
commit0c31702405341eade38b2864c4381b0493360737 (patch)
treed7e3f958df2965570fb5e9295377fe7153a3465a /Makefile
parent8a4b5c63e0b90cc036f98933c214f5b765849d44 (diff)
downloadnode-new-0c31702405341eade38b2864c4381b0493360737.tar.gz
build: add LINT_CPP_FILES to checkimports check
This commit adds the prerequisites which contains all the files to lint. Currently the only the files in 'src' will be checked. PR-URL: https://github.com/nodejs/node/pull/33697 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 519e920685..7fa645f21d 100644
--- a/Makefile
+++ b/Makefile
@@ -1334,7 +1334,7 @@ lint-cpp: tools/.cpplintstamp
tools/.cpplintstamp: $(LINT_CPP_FILES)
@echo "Running C++ linter..."
@$(PYTHON) tools/cpplint.py $(CPPLINT_QUIET) $?
- @$(PYTHON) tools/checkimports.py
+ @$(PYTHON) tools/checkimports.py $?
@touch $@
.PHONY: lint-addon-docs