Skip to content

Commit

Permalink
Merge pull request #3306 from github/koesie10/remove-bundled-ruby-query
Browse files Browse the repository at this point in the history
Remove bundled Ruby queries
koesie10 authored Feb 1, 2024
2 parents cab963c + 4e967d8 commit f244878
Showing 5 changed files with 16 additions and 370 deletions.
6 changes: 3 additions & 3 deletions extensions/ql-vscode/src/model-editor/queries/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { fetchExternalApisQuery as rubyFetchExternalApisQuery } from "./ruby";
import type { Query } from "./query";
import { QueryLanguage } from "../../common/query-language";
import type { QueryLanguage } from "../../common/query-language";

export const fetchExternalApiQueries: Partial<Record<QueryLanguage, Query>> = {
[QueryLanguage.Ruby]: rubyFetchExternalApisQuery,
// Right now, there are no bundled queries. However, if we're adding a new
// language for the model editor, we can add the query here.
};
351 changes: 0 additions & 351 deletions extensions/ql-vscode/src/model-editor/queries/ruby.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import type { ModelConfig } from "../config";
* Languages that are always supported by the model editor. These languages
* do not require a separate config setting to enable them.
*/
const SUPPORTED_LANGUAGES: QueryLanguage[] = [
export const SUPPORTED_LANGUAGES: QueryLanguage[] = [
QueryLanguage.Java,
QueryLanguage.CSharp,
];
Loading

0 comments on commit f244878

Please sign in to comment.