소스 검색

fix(musare.sh): All tests always run

Owen Diffey 1 년 전
부모
커밋
54441c078a
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      musare.sh

+ 1 - 2
musare.sh

@@ -376,8 +376,7 @@ handleTypescript()
 # Execute automated tests in services
 handleTests()
 {
-    # shellcheck disable=SC2068
-    servicesString=$(handleServices "backend frontend" ${services[@]})
+    servicesString=$(handleServices "backend frontend" "${@:2}")
     if [[ ${servicesString:0:1} != 1 ]]; then
         throw "${servicesString:2}\n${YELLOW}Usage: ${1} [backend, frontend]"
     fi