aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/golang.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/golang.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/golang.ts')
-rw-r--r--lib/compilers/golang.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/golang.ts b/lib/compilers/golang.ts
index cf761a11c..2b41483c6 100644
--- a/lib/compilers/golang.ts
+++ b/lib/compilers/golang.ts
@@ -176,7 +176,7 @@ export class GolangCompiler extends BaseCompiler {
collisions: number,
ins: string,
args: string,
- usedLabels: Record<string, boolean>
+ usedLabels: Record<string, boolean>,
): string {
// Check if last argument is a decimal number.
const match = args.match(DECIMAL_RE);