Skip to content

Commit bb25874

Browse files
committed
Remove TODO.
1 parent 7bfe0df commit bb25874

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

extensions/ql-vscode/src/language-context-store.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ export class LanguageContextStore extends DisposableObject {
3333
this.onLanguageContextChangedEmitter.fire();
3434
}
3535

36-
// TODO: comment on why string is used here
36+
// This method takes a string to allow it to be used in cases
37+
// where the language is not always a known one.
38+
// The semantics of such an unknown langauge is that it is
39+
// only included if the current language context is "All".
3740
public shouldInclude(language: string): boolean {
3841
return this.state === "All" || this.state === language;
3942
}

0 commit comments

Comments
 (0)