mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-21 23:16:12 +01:00

[BUGFIX] runTests.sh‘s npm command now works again with parameters

Fixes #1418
This commit is contained in:
Felix Althaus 2024-07-31 14:16:01 +02:00
parent 46ca83acf5
commit fb9d70a8fd
No known key found for this signature in database
GPG key ID: 3A671D812769C5B2

View file

@ -613,7 +613,7 @@ case ${TEST_SUITE} in
;; ;;
npm) npm)
COMMAND_PARTS=(npm "$@") COMMAND_PARTS=(npm "$@")
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name npm-command-${SUFFIX} ${IMAGE_NODE} /bin/sh -c "${COMMAND_PARTS[@]}" ${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name npm-command-${SUFFIX} ${IMAGE_NODE} "${COMMAND_PARTS[@]}"
SUITE_EXIT_CODE=$? SUITE_EXIT_CODE=$?
;; ;;
phpstan) phpstan)