Skip to content

Commit e0bf1ca

Browse files
committed
Rename skeletonWizard setting to createQuery
1 parent 57d48a7 commit e0bf1ca

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

extensions/ql-vscode/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ export function allowHttp(): boolean {
625625
**/
626626
const SKELETON_WIZARD_FOLDER = new Setting(
627627
"folder",
628-
new Setting("skeletonWizard", ROOT_SETTING),
628+
new Setting("createQuery", ROOT_SETTING),
629629
);
630630

631631
export function getSkeletonWizardFolder(): string | undefined {

extensions/ql-vscode/test/vscode-tests/cli-integration/skeleton-query-wizard.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ describe("SkeletonQueryWizard", () => {
466466
ensureDirSync(storedPath);
467467

468468
originalValue = workspace
469-
.getConfiguration("codeQL.skeletonWizard")
469+
.getConfiguration("codeQL.createQuery")
470470
.get("folder");
471471

472472
// Set isCodespacesTemplate to true to indicate we are in the codespace template
@@ -499,16 +499,16 @@ describe("SkeletonQueryWizard", () => {
499499
ensureDirSync(storedPath);
500500

501501
originalValue = workspace
502-
.getConfiguration("codeQL.skeletonWizard")
502+
.getConfiguration("codeQL.createQuery")
503503
.get("folder");
504504
await workspace
505-
.getConfiguration("codeQL.skeletonWizard")
505+
.getConfiguration("codeQL.createQuery")
506506
.update("folder", storedPath);
507507
});
508508

509509
afterEach(async () => {
510510
await workspace
511-
.getConfiguration("codeQL.skeletonWizard")
511+
.getConfiguration("codeQL.createQuery")
512512
.update("folder", originalValue);
513513
});
514514

@@ -528,16 +528,16 @@ describe("SkeletonQueryWizard", () => {
528528
storedPath = join(dir.name, "this-folder-does-not-exist");
529529

530530
originalValue = workspace
531-
.getConfiguration("codeQL.skeletonWizard")
531+
.getConfiguration("codeQL.createQuery")
532532
.get("folder");
533533
await workspace
534-
.getConfiguration("codeQL.skeletonWizard")
534+
.getConfiguration("codeQL.createQuery")
535535
.update("folder", storedPath);
536536
});
537537

538538
afterEach(async () => {
539539
await workspace
540-
.getConfiguration("codeQL.skeletonWizard")
540+
.getConfiguration("codeQL.createQuery")
541541
.update("folder", originalValue);
542542
});
543543

0 commit comments

Comments
 (0)