File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,14 @@ mkdir -p ./runtime/logs
3939# ###############################################################
4040# Download react-router source files to be analyzed
4141# ###############################################################
42- git clone https://github.com/remix-run/react-router.git " ${SOURCE_DIRECTORY} "
42+ if [ ! -d " ${SOURCE_DIRECTORY} " ] ; then # only clone if source doesn't exist
43+ git clone --branch " react-router@${PROJECT_VERSION} " https://github.com/remix-run/react-router.git " ${SOURCE_DIRECTORY} "
44+ fi
4345(
4446 cd " ${SOURCE_DIRECTORY} " || exit
45- git checkout " react-router@ ${PROJECT_VERSION} " || exit
47+ echo " download ${ANALYSIS_NAME} : Installing dependencies... "
4648 pnpm install --frozen-lockfile || exit
49+ echo " download${ANALYSIS_NAME} : Analyzing source..."
4750 npx --yes @jqassistant/ts-lce > ./../runtime/logs/jqassistant-typescript-scan.log 2>&1 || exit
4851)
4952mkdir -p artifacts/typescript
You can’t perform that action at this time.
0 commit comments