Родитель
361fed622b
Коммит
4450237612
|
@ -4,6 +4,7 @@
|
|||
|
||||
- Remove support for CodeQL CLI versions older than 2.13.5. [#3371](https://github.com/github/vscode-codeql/pull/3371)
|
||||
- Add a timeout to downloading databases and the CodeQL CLI. These can be changed using the `codeQL.addingDatabases.downloadTimeout` and `codeQL.cli.downloadTimeout` settings respectively. [#3373](https://github.com/github/vscode-codeql/pull/3373)
|
||||
- Databases created from [CodeQL test cases](https://docs.github.com/en/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/testing-custom-queries) are now copied into a shared VS Code storage location. This avoids a bug where re-running test cases would fail if the test's database is already imported into the workspace. [#3433](https://github.com/github/vscode-codeql/pull/3433)
|
||||
|
||||
## 1.12.2 - 14 February 2024
|
||||
|
||||
|
|
|
@ -370,7 +370,7 @@ async function fetchDatabaseToWorkspaceStorage(
|
|||
const unzipPath = await getStorageFolder(storagePath, databaseUrl);
|
||||
|
||||
if (isFile(databaseUrl)) {
|
||||
if (origin.type == "testproj") {
|
||||
if (origin.type === "testproj") {
|
||||
await copyDatabase(origin.path, unzipPath, progress);
|
||||
} else {
|
||||
await readAndUnzip(databaseUrl, unzipPath, cli, progress);
|
||||
|
|
Загрузка…
Ссылка в новой задаче