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 11import { QueryLanguage } from "../common/query-language" ;
22import type { ModelConfig } from "../config" ;
3- import { isCanary } from "../config" ;
43
54/**
65 * Languages that are always supported by the model editor. These languages
@@ -9,6 +8,7 @@ import { isCanary } from "../config";
98export const SUPPORTED_LANGUAGES : QueryLanguage [ ] = [
109 QueryLanguage . Java ,
1110 QueryLanguage . CSharp ,
11+ QueryLanguage . Ruby ,
1212] ;
1313
1414export function isSupportedLanguage (
@@ -19,11 +19,6 @@ export function isSupportedLanguage(
1919 return true ;
2020 }
2121
22- if ( language === QueryLanguage . Ruby ) {
23- // Ruby is only enabled when in canary mode
24- return isCanary ( ) ;
25- }
26-
2722 if ( language === QueryLanguage . Python ) {
2823 // Python is only enabled when the config setting is set
2924 return modelConfig . enablePython ;
You can’t perform that action at this time.
0 commit comments