Skip to content

Commit 8f760c2

Browse files
danbevtargos
authored andcommitted
build: touch tools/doc/node_modules after run
Currently, tools/doc/node_modules is not touched after running npm install resulting in npm install being run every time. I missed this while testing commit 88bff82 ("build: make tools/doc/node_modules non-phony"). PR-URL: #22350 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
1 parent 90e99da commit 8f760c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1074,6 +1074,7 @@ lint-md-build: tools/remark-cli/node_modules \
10741074
tools/doc/node_modules: tools/doc/package.json
10751075
ifeq ($(node_use_openssl),true)
10761076
cd tools/doc && $(call available-node,$(run-npm-install))
1077+
@touch $@
10771078
else
10781079
@echo "Skipping tools/doc/node_modules (no crypto)"
10791080
endif

0 commit comments

Comments
 (0)