Skip to content

Commit 30427d9

Browse files
committed
Update on "[build] Add editable mode unittest"
As titled. To do this we need to refactor the arguments being passed into `setup-linux.sh` `setup-macos.sh` and `unittest-linux.sh` `unittest-macos.sh`. [ghstack-poisoned]
1 parent 1a229ce commit 30427d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/scripts/utils.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@ parse_args() {
177177
i=$((i+1))
178178
;;
179179
--build-mode)
180-
BUILD_MODE="${args[$((i+1))]:Release}"
180+
BUILD_MODE="${args[$((i+1))]:-Release}"
181181
i=$((i+1))
182182
;;
183183
--editable)
184-
EDITABLE="${args[$((i+1))]:false}"
184+
EDITABLE="${args[$((i+1))]:-false}"
185185
i=$((i+1))
186186
;;
187187
*)

0 commit comments

Comments
 (0)