Skip to content

Commit 04e3b0c

Browse files
authored
disable npm install (#4212)
Signed-off-by: --global <--global> Co-authored-by: --global <--global>
1 parent 80fd9ed commit 04e3b0c

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/oc_erchef/raml-docs/Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ ifeq ($(NPM),)
88
@echo "You don't have node.js installed."
99
@echo "It's up to you to decide the best way of doing that for your system"
1010
else
11-
@if [ -z $(RAML2HTML) ] ; then \
12-
echo "You don't have raml2html, but we'll assume you want it" ; \
13-
$(NPM) install -g raml2html; \
14-
fi;
11+
## disable use of npm install temporarily for security reasons
12+
#@if [ -z $(RAML2HTML) ] ; then \
13+
# echo "You don't have raml2html, but we'll assume you want it" ; \
14+
# $(NPM) install -g raml2html; \
15+
#fi;
1516
raml2html ./index.raml > index.html
1617
endif
1718

0 commit comments

Comments
 (0)