Skip to content

Commit 6bb91f4

Browse files
authored
QL: Update devcontainer files
1 parent cacefbe commit 6bb91f4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.devcontainer/post_attach.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ if [ "${CURRENT_CODEQL_BIN}" != "${LATEST_CODEQL_BIN}" ]; then
2323
fi
2424
fi
2525

26-
echo "Build the Ruby extractor"
26+
echo "Build the QL extractor"
2727

2828
# clone the git dependencies using "git clone" because cargo's builtin git support is rather slow
2929
REPO_DIR="${CARGO_HOME:-/home/vscode/.cargo}/git/db"
3030
REPO_DIR_ERB="${REPO_DIR}/tree-sitter-embedded-template-4c796e3340c233b6"
31-
REPO_DIR_RUBY="${REPO_DIR}/tree-sitter-ruby-666a40ce046f8e7a"
31+
REPO_DIR_QL="${REPO_DIR}/tree-sitter-ql-52319df96d97078e"
3232

3333
mkdir -p "${REPO_DIR}"
34-
test -e "${REPO_DIR_RUBY}" || git clone -q --bare https://github.com/tree-sitter/tree-sitter-ql.git "${REPO_DIR_RUBY}"
34+
test -e "${REPO_DIR_QL}" || git clone -q --bare https://github.com/tree-sitter/tree-sitter-ql.git "${REPO_DIR_QL}"
3535

3636
./create-extractor-pack.sh

.devcontainer/post_create.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#! /bin/bash
22

33
mkdir -p /home/vscode/.config/codeql
4-
echo '--search-path /workspaces/codeql-ruby' >> /home/vscode/.config/codeql/config
4+
echo '--search-path /workspaces/codeql-ql' >> /home/vscode/.config/codeql/config

0 commit comments

Comments
 (0)