Skip to content

Commit af6cb9b

Browse files
committed
fix(ci): update exit status check to use double brackets
1 parent ce42b9a commit af6cb9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/ci/test-shared-libs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ for lib in "$LIBS_DIR"/*/; do
2929
npm test --prefix "$lib" --if-present
3030

3131
exit_status=$?
32-
if [ $exit_status -ne 0 ]; then
32+
if [[ $exit_status -ne 0 ]]; then
3333
echo "Workspace '$lib_name' FAILED."
3434
FAILED_LIBS="$FAILED_LIBS - $LIBS_DIR/$lib_name\n"
3535
FAIL_COUNT=$((FAIL_COUNT + 1))

0 commit comments

Comments
 (0)