Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2020-06-02 14:21:40 +0300
committerShelley Vohr <shelley.vohr@gmail.com>2020-06-30 19:34:05 +0300
commit092138ac12a71902cfd0e8beb20dd2eea02032b6 (patch)
treede55f6f6ec073965966ea6b50e9b2bfccad6a9ae /Makefile
parent6e3392926264f9d7ff8dc9b44303f8635361d3ca (diff)
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 519e9206851..7fa645f21dd 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