Skip to content

Commit dc4ca5c

Browse files
authored
feat: Added Swift language support (#335)
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.
1 parent 1e3e8ec commit dc4ca5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/code-review-gpt/src/review/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export const languageMap: { [key: string]: string } = {
5555
".vue": "Vue",
5656
".tf": "Terraform",
5757
".hcl": "Terraform",
58+
".swift":"Swift"
5859
};
5960

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

0 commit comments

Comments
 (0)