From f64599b94df56cb6186dd951f4e6c054aa4c7e78 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Mon, 16 Nov 2020 13:09:57 -0500 Subject: [PATCH] ci: Update standalone build test ms-toolsai.jupyter is now a dependency of ms-python and is installed along with it. --- ci/build/test-standalone-release.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/build/test-standalone-release.sh b/ci/build/test-standalone-release.sh index 0344ea39f..5f5656486 100755 --- a/ci/build/test-standalone-release.sh +++ b/ci/build/test-standalone-release.sh @@ -15,7 +15,8 @@ main() { ./release-standalone/bin/code-server --extensions-dir "$EXTENSIONS_DIR" --install-extension ms-python.python local installed_extensions installed_extensions="$(./release-standalone/bin/code-server --extensions-dir "$EXTENSIONS_DIR" --list-extensions 2>&1)" - if [[ $installed_extensions != "ms-python.python" ]]; then + # We use grep as ms-python.python may have dependency extensions that change. + if ! echo "$installed_extensions" | grep -q "ms-python.python"; then echo "Unexpected output from listing extensions:" echo "$installed_extensions" exit 1