File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22[ -n " $CI " ] && exit 0
33
4+ # Ignore this check if user has DOCS_NO_AUTO_NPM set in their environment
5+ if [ -n " $DOCS_NO_AUTO_NPM " ]; then
6+ echo " Skipping auto-npm install because DOCS_NO_AUTO_NPM is set"
7+ exit 0
8+ fi
9+
410# Same process in husky/post-merge
511echo " Checking if packages need to be installed..."
612if npm run cmp-files -- package-lock.json .installed.package-lock.json; then
Original file line number Diff line number Diff line change 11#! /bin/sh
22[ -n " $CI " ] && exit 0
33
4+ # Ignore this check if user has DOCS_NO_AUTO_NPM set in their environment
5+ if [ -n " $DOCS_NO_AUTO_NPM " ]; then
6+ echo " Skipping auto-npm install because DOCS_NO_AUTO_NPM is set"
7+ exit 0
8+ fi
9+
410# Same process in husky/post-checkout
511echo " Checking if packages need to be installed..."
612if npm run cmp-files -- package-lock.json .installed.package-lock.json; then
You can’t perform that action at this time.
0 commit comments