diff --git a/.devcontainer/post_attach.sh b/.devcontainer/post_attach.sh index 161d786b4f6..b6f6ac55326 100755 --- a/.devcontainer/post_attach.sh +++ b/.devcontainer/post_attach.sh @@ -23,14 +23,14 @@ if [ "${CURRENT_CODEQL_BIN}" != "${LATEST_CODEQL_BIN}" ]; then fi fi -echo "Build the Ruby extractor" +echo "Build the QL extractor" # clone the git dependencies using "git clone" because cargo's builtin git support is rather slow REPO_DIR="${CARGO_HOME:-/home/vscode/.cargo}/git/db" REPO_DIR_ERB="${REPO_DIR}/tree-sitter-embedded-template-4c796e3340c233b6" -REPO_DIR_RUBY="${REPO_DIR}/tree-sitter-ruby-666a40ce046f8e7a" +REPO_DIR_QL="${REPO_DIR}/tree-sitter-ql-52319df96d97078e" mkdir -p "${REPO_DIR}" -test -e "${REPO_DIR_RUBY}" || git clone -q --bare https://github.com/tree-sitter/tree-sitter-ql.git "${REPO_DIR_RUBY}" +test -e "${REPO_DIR_QL}" || git clone -q --bare https://github.com/tree-sitter/tree-sitter-ql.git "${REPO_DIR_QL}" ./create-extractor-pack.sh diff --git a/.devcontainer/post_create.sh b/.devcontainer/post_create.sh index a1af653024b..ce182a711fc 100755 --- a/.devcontainer/post_create.sh +++ b/.devcontainer/post_create.sh @@ -1,4 +1,4 @@ #! /bin/bash mkdir -p /home/vscode/.config/codeql -echo '--search-path /workspaces/codeql-ruby' >> /home/vscode/.config/codeql/config +echo '--search-path /workspaces/codeql-ql' >> /home/vscode/.config/codeql/config