Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/languages.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/languages.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions src/languages.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/** A language supported by CodeQL. */
export type Language = string;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: Technically this now represents any language identifier, whether supported or not


/**
* A CodeQL language.
* A language supported by CodeQL that is treated specially by the Action.
*
* To facilitate adding new languages, this is a typedef rather than an
* exhaustive list of languages supported by CodeQL.
* This is not an exhaustive list of languages supported by CodeQL and new
* languages do not need to be added here.
*/
export type Language = string;

export enum KnownLanguage {
csharp = "csharp",
cpp = "cpp",
Expand Down