Skip to content

Commit

Permalink
fix: add kotlin fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Feb 15, 2023
1 parent 247bc8d commit 14ab811
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/helpers/fixes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ export async function generateFixes(projectRoot: string): Promise<string> {
file.match(/\.go$/)
) {
lineAdjustments = await getMatchedLines(file, [EMPTYLINE, SYNTAXCOMMENT, SYNTAXBLOCK, SYNTAXBRACKET, SYNTAXGOFUNC])
} else if (
file.match(/\.kt$/)
) {
lineAdjustments = await getMatchedLines(file, [SYNTAXBRACKET, SYNTAXCOMMENT])
}

if (lineAdjustments.length > 0) {
Expand Down

0 comments on commit 14ab811

Please sign in to comment.