Skip to content

Commit 1891763

Browse files
committed
Remove enableConsistencyCheck feature flag
1 parent 0b4fc76 commit 1891763

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

extensions/ql-vscode/src/config.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -712,17 +712,12 @@ const LLM_GENERATION_DEV_ENDPOINT = new Setting(
712712
);
713713
const EXTENSIONS_DIRECTORY = new Setting("extensionsDirectory", MODEL_SETTING);
714714
const ENABLE_RUBY = new Setting("enableRuby", MODEL_SETTING);
715-
const ENABLE_CONSISTENCY_CHECK = new Setting(
716-
"enableConsistencyCheck",
717-
MODEL_SETTING,
718-
);
719715

720716
export interface ModelConfig {
721717
flowGeneration: boolean;
722718
llmGeneration: boolean;
723719
getExtensionsDirectory(languageId: string): string | undefined;
724720
enableRuby: boolean;
725-
enableConsistencyCheck: boolean;
726721
}
727722

728723
export class ModelConfigListener extends ConfigListener implements ModelConfig {
@@ -763,10 +758,6 @@ export class ModelConfigListener extends ConfigListener implements ModelConfig {
763758
public get enableRuby(): boolean {
764759
return !!ENABLE_RUBY.getValue<boolean>();
765760
}
766-
767-
public get enableConsistencyCheck(): boolean {
768-
return !!ENABLE_CONSISTENCY_CHECK.getValue<boolean>();
769-
}
770761
}
771762

772763
const GITHUB_DATABASE_SETTING = new Setting("githubDatabase", ROOT_SETTING);

extensions/ql-vscode/src/model-editor/model-editor-module.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,6 @@ export class ModelEditorModule extends DisposableObject {
103103

104104
this.push(
105105
this.modelingEvents.onMethodsChanged((event) => {
106-
if (!this.modelConfig.enableConsistencyCheck) {
107-
return;
108-
}
109-
110106
const modeledMethods = this.modelingStore.getModeledMethods(
111107
event.databaseItem,
112108
);

0 commit comments

Comments
 (0)