Skip to content

Commit 7e8922e

Browse files
Copilotrajbos
andcommitted
Install jq before using it in refreshTools.sh to fix JSON parsing
Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
1 parent 8310246 commit 7e8922e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.devcontainer/refreshTools.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ set -e
44

55
echo "Checking for updates to workbench-template from GitHub"
66

7+
# Ensure jq is installed for JSON parsing
8+
if ! command -v jq &> /dev/null; then
9+
echo "Installing jq for JSON parsing..."
10+
sudo apt-get update && sudo apt-get install -y jq
11+
fi
12+
713
WORKSPACE_DIR="/workspaces/spark-template"
814

915
MARKER_DIR="/var/lib/spark/.versions"

0 commit comments

Comments
 (0)