File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ if [[ "$1" == "cextrun" ]]; then
3434
3535 poetry install
3636 if [[ " $RUNNING_MODE " == " local" ]] && [[ -f $EXTENSION_DIR /package.json ]]; then
37- test ! -L " node_modules" && ln -s /install_temp/node_modules .
37+ test ! -d " node_modules" && test -d /install_temp/node_modules && ln -s /install_temp/node_modules .
3838 npm run build --if-present
3939 fi
4040
@@ -45,7 +45,7 @@ if [[ "$1" == "extension-test" ]] || [[ "$1" == "extension-devel" ]]; then
4545 poetry install
4646
4747 if [[ " $RUNNING_MODE " == " local" ]] && [[ -f $EXTENSION_DIR /package.json ]]; then
48- test ! -L " node_modules" && ln -s /install_temp/node_modules .
48+ test ! -d " node_modules" && test -d /install_temp/node_modules && ln -s /install_temp/node_modules .
4949 npm run build --if-present
5050 fi
5151fi
@@ -55,7 +55,7 @@ if [[ "$1" == *bash* ]] && [[ "$#" -eq 1 ]] && [[ -f pyproject.toml ]]; then
5555 poetry install
5656
5757 if [[ " $RUNNING_MODE " == " local" ]] && [[ -f $EXTENSION_DIR /package.json ]]; then
58- test ! -L " node_modules" && ln -s /install_temp/node_modules .
58+ test ! -d " node_modules" && test -d /install_temp/node_modules && ln -s /install_temp/node_modules .
5959 npm run build --if-present
6060 fi
6161
You can’t perform that action at this time.
0 commit comments