aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/java.ts
diff options
context:
space:
mode:
authorJeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>2023-02-26 12:21:35 -0500
committerGitHub <noreply@github.com>2023-02-26 12:21:35 -0500
commit384c29790613afa7288dc992e6fa9404322ac450 (patch)
treeeaa09c37007f0138258f3c6552d6bc5f06c1df4d /lib/compilers/java.ts
parentfb4b7bb16e5b9687d9cc2fcbe86a9e18cd982f72 (diff)
downloadcompiler-explorer-384c29790613afa7288dc992e6fa9404322ac450.tar.gz
compiler-explorer-384c29790613afa7288dc992e6fa9404322ac450.zip
Fix trailing comma issue (#4775)gh-6504
Make trailing commas more consistent throughout the project, fixes config conflict between eslint and prettier. Resolves an oversight in #4766.
Diffstat (limited to 'lib/compilers/java.ts')
-rw-r--r--lib/compilers/java.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compilers/java.ts b/lib/compilers/java.ts
index c9bd3aef2..cf665646e 100644
--- a/lib/compilers/java.ts
+++ b/lib/compilers/java.ts
@@ -51,7 +51,7 @@ export class JavaCompiler extends BaseCompiler {
disabledFilters: ['labels', 'directives', 'commentOnly', 'trim'],
...compilerInfo,
},
- env
+ env,
);
this.javaRuntime = this.compilerProps<string>(`compiler.${this.compiler.id}.runtime`);
this.mainRegex = /public static ?(.*?) void main\(java\.lang\.String\[]\)/;
@@ -105,7 +105,7 @@ export class JavaCompiler extends BaseCompiler {
];
}
return oneResult;
- })
+ }),
);
const merged: ParsedAsmResult = {asm: []};
@@ -178,7 +178,7 @@ export class JavaCompiler extends BaseCompiler {
return classFile;
}
return null;
- })
+ }),
);
const candidates = results.filter(file => file !== null);