Skip to content

Commit 0c27e9f

Browse files
committed
ci(scripts): fixed codacy warnings
1 parent af0d408 commit 0c27e9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/scripts/run_unity_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ TEST_RESULT_FILE_PATH="$TEST_RESULT_DIR/$TEST_RESULT_FILE_NAME"
1111
${UNITY_EXECUTABLE:-xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' /opt/Unity/Editor/Unity} \
1212
-projectPath "$PROJECT_ROOT" \
1313
-runTests \
14-
-testPlatform $TEST_PLATFORM \
14+
-testPlatform "$TEST_PLATFORM" \
1515
-testResults "$TEST_RESULT_FILE_PATH" \
1616
-logFile - \
1717
-batchmode
@@ -28,5 +28,5 @@ else
2828
echo "Unexpected exit code $UNITY_EXIT_CODE";
2929
fi
3030

31-
cat "$TEST_RESULT_FILE_PATH" | grep test-run | grep Passed
31+
grep test-run < "$TEST_RESULT_FILE_PATH" | grep Passed
3232
exit $UNITY_TEST_EXIT_CODE

0 commit comments

Comments
 (0)