File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
extensions/ql-vscode/src/model-editor Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 1
1
import { QueryLanguage } from "../common/query-language" ;
2
2
import type { ModelConfig } from "../config" ;
3
- import { isCanary } from "../config" ;
4
3
5
4
/**
6
5
* Languages that are always supported by the model editor. These languages
@@ -9,6 +8,7 @@ import { isCanary } from "../config";
9
8
export const SUPPORTED_LANGUAGES : QueryLanguage [ ] = [
10
9
QueryLanguage . Java ,
11
10
QueryLanguage . CSharp ,
11
+ QueryLanguage . Ruby ,
12
12
] ;
13
13
14
14
export function isSupportedLanguage (
@@ -19,11 +19,6 @@ export function isSupportedLanguage(
19
19
return true ;
20
20
}
21
21
22
- if ( language === QueryLanguage . Ruby ) {
23
- // Ruby is only enabled when in canary mode
24
- return isCanary ( ) ;
25
- }
26
-
27
22
if ( language === QueryLanguage . Python ) {
28
23
// Python is only enabled when the config setting is set
29
24
return modelConfig . enablePython ;
You can’t perform that action at this time.
0 commit comments