File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1133,7 +1133,8 @@ lint-js-ci:
11331133jslint-ci : lint-js-ci
11341134 @echo " Please use lint-js-ci instead of jslint-ci"
11351135
1136- LINT_CPP_ADDON_DOC_FILES = $(wildcard test/addons/??_* /* .cc test/addons/??_* /* .h)
1136+ LINT_CPP_ADDON_DOC_FILES_GLOB = test/addons/??_*/*.cc test/addons/??_*/*.h
1137+ LINT_CPP_ADDON_DOC_FILES = $(wildcard $(LINT_CPP_ADDON_DOC_FILES_GLOB ) )
11371138LINT_CPP_EXCLUDE ?=
11381139LINT_CPP_EXCLUDE += src/node_root_certs.h
11391140LINT_CPP_EXCLUDE += $(LINT_CPP_ADDON_DOC_FILES )
@@ -1176,7 +1177,7 @@ tools/.cpplintstamp: $(LINT_CPP_FILES)
11761177
11771178lint-addon-docs : test/addons/.docbuildstamp
11781179 @echo " Running C++ linter on addon docs..."
1179- @$(PYTHON ) tools/cpplint.py --filter=$(ADDON_DOC_LINT_FLAGS ) $(LINT_CPP_ADDON_DOC_FILES )
1180+ @$(PYTHON ) tools/cpplint.py --filter=$(ADDON_DOC_LINT_FLAGS ) $(LINT_CPP_ADDON_DOC_FILES_GLOB )
11801181
11811182cpplint : lint-cpp
11821183 @echo " Please use lint-cpp instead of cpplint"
You can’t perform that action at this time.
0 commit comments