Skip to content

Commit

Permalink
feat: Added Swift language support (#335)
Browse files Browse the repository at this point in the history
Hello,

Thanks for sharing this awesome project.
This little patch fixes the following issue with Gitlab integration:

1. I have added .swift files to the languageMap to enable Swift code reviews.
  • Loading branch information
langpeu authored Jun 19, 2024
1 parent 1e3e8ec commit dc4ca5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/code-review-gpt/src/review/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export const languageMap: { [key: string]: string } = {
".vue": "Vue",
".tf": "Terraform",
".hcl": "Terraform",
".swift":"Swift"
};

export const supportedFiles = new Set(Object.keys(languageMap));
Expand Down

0 comments on commit dc4ca5c

Please sign in to comment.