Skip to content

Commit

Permalink
update the function getLanguageAlias to include the aliases for C# an…
Browse files Browse the repository at this point in the history
…d TypeScript
  • Loading branch information
qiaogaojian committed Sep 23, 2022
1 parent 8896ac5 commit f014482
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ export default class ExecuteCodePlugin extends Plugin {
private getLanguageAlias(language: string) {
return language
.replace("javascript", "js")
.replace("typescript", "ts")
.replace("csharp", "cs")
.replace("bash", "shell");
}

Expand Down

0 comments on commit f014482

Please sign in to comment.