Skip to content

Commit de8569f

Browse files
committed
⚙️ Fix issue of path value has quotation so it could only list nothing.
1 parent eb73dc4 commit de8569f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/ci/get-all-tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ get_all_test_subpackage() {
3030
then
3131
# Still has test subpackage won't scan
3232
declare test_path="$test_subpkg*/"
33-
declare -a test_subpkg_array=( $(ls -d "$test_path" | grep -v '__pycache__') )
33+
# shellcheck disable=SC2086
34+
declare -a test_subpkg_array=( $(ls -d $test_path | grep -v '__pycache__') )
3435

3536
if [ ${#test_subpkg_array[@]} != 0 ];
3637
then

0 commit comments

Comments
 (0)