From 14ab811bfebb68fdef4947264a4a2216aad53483 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 14 Feb 2023 17:32:02 -0500 Subject: [PATCH] fix: add kotlin fixes --- src/helpers/fixes.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/helpers/fixes.ts b/src/helpers/fixes.ts index c9e3315e1..c70fbc115 100644 --- a/src/helpers/fixes.ts +++ b/src/helpers/fixes.ts @@ -48,6 +48,10 @@ export async function generateFixes(projectRoot: string): Promise { 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) {