Skip to content

Commit cbe3c05

Browse files
author
Dave Bartolomeo
committed
odasa -> Semmle Core
1 parent e37807c commit cbe3c05

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

extensions/ql-vscode/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,16 +122,16 @@
122122
"default": false,
123123
"description": "Enable debug logging and tuple counting when running CodeQL queries. This information is useful for debugging query performance."
124124
},
125-
"codeQL.tests.odasaDistributionPath": {
125+
"codeQL.tests.semmleCoreDistributionPath": {
126126
"scope": "window",
127127
"type": "string",
128128
"default": "",
129-
"description": "Location of the ODASA distribution"
129+
"description": "Location of the Semmle Core distribution"
130130
},
131-
"codeQL.tests.odasaLicensePath": {
131+
"codeQL.tests.semmleCoreLicensePath": {
132132
"scope": "window",
133133
"type": "string",
134-
"description": "Location of the directory containing the ODASA license file"
134+
"description": "Location of the directory containing the Semmle Core license file"
135135
},
136136
"codeQL.tests.numberOfThreads": {
137137
"scope": "window",

extensions/ql-vscode/src/test-adapter.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as fs from 'fs-extra';
21
import * as os from 'os';
32
import * as path from 'path';
43
import * as vscode from 'vscode';
@@ -89,9 +88,9 @@ function getQLTestThreadCount(): number {
8988
*/
9089
function 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
*/
103102
function 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

Comments
 (0)