aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/kotlin.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/kotlin.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/kotlin.ts')
-rw-r--r--lib/compilers/kotlin.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/kotlin.ts b/lib/compilers/kotlin.ts
index c58a54347..dfc115b12 100644
--- a/lib/compilers/kotlin.ts
+++ b/lib/compilers/kotlin.ts
@@ -56,7 +56,7 @@ export class KotlinCompiler extends JavaCompiler {
override filterUserOptions(userOptions: string[]) {
// filter options without extra arguments
userOptions = (userOptions || []).filter(
- option => option !== '-script' && option !== '-progressive' && !option.startsWith('-Xjavac')
+ option => option !== '-script' && option !== '-progressive' && !option.startsWith('-Xjavac'),
);
const oneArgForbiddenList = new Set([