1- import * as fs from 'fs-extra';
21import * as os from 'os';
32import * as path from 'path';
43import * as vscode from 'vscode';
@@ -89,9 +88,9 @@ function getQLTestThreadCount(): number {
8988 */
9089function getDistributionPath(): string {
9190 const semmleDist =
92- workspace.getConfiguration('codeQL.tests').get<string>('odasaDistributionPath ');
91+ workspace.getConfiguration('codeQL.tests').get<string>('semmleCoreDistributionPath ');
9392 if (semmleDist === undefined) {
94- throw new Error("'codeQL.tests.odasaDistributionPath ' must be set to the path containing the Odasa distribution.");
93+ throw new Error("'codeQL.tests.semmleCoreDistributionPath ' must be set to the path containing the Semmle Core distribution.");
9594 }
9695
9796 return semmleDist;
@@ -101,7 +100,7 @@ function getDistributionPath(): string {
101100 * Gets the path to the directory containing the ODASA license file.
102101 */
103102function getLicensePath(): string | undefined {
104- return workspace.getConfiguration('codeQL.tests').get<string>('odasaLicensePath ');
103+ return workspace.getConfiguration('codeQL.tests').get<string>('semmleCoreLicensePath ');
105104}
106105
107106/**
@@ -326,7 +325,7 @@ export class QLTestAdapter extends DisposableObject implements TestAdapter {
326325
327326 try {
328327 if (!await isOdasaAvailable(qlOptions)) {
329- const action = showAndLogErrorMessage("'codeQL.tests.odasaDistributionPath ' does not " +
328+ const action = showAndLogErrorMessage("'codeQL.tests.semmleCoreDistributionPath ' does not " +
330329 "point to a distribution of Semmle Core. Semmle Core is required in order to run " +
331330 "CodeQL tests. This requirement will be removed as soon as the CodeQL CLI supports " +
332331 "running tests.",
0 commit comments