aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/typescript-native.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/typescript-native.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/typescript-native.ts')
-rw-r--r--lib/compilers/typescript-native.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compilers/typescript-native.ts b/lib/compilers/typescript-native.ts
index 25f6749ae..95e687b05 100644
--- a/lib/compilers/typescript-native.ts
+++ b/lib/compilers/typescript-native.ts
@@ -69,7 +69,7 @@ export class TypeScriptNativeCompiler extends BaseCompiler {
compiler: string,
options: string[],
inputFilename: string,
- execOptions: ExecutionOptions
+ execOptions: ExecutionOptions,
): Promise<CompilationResult> {
// These options make Clang produce an IR
const newOptions = ['--emit=mlir-llvm', inputFilename];
@@ -82,7 +82,7 @@ export class TypeScriptNativeCompiler extends BaseCompiler {
this.tscJit,
newOptions,
this.filename(inputFilename),
- execOptions
+ execOptions,
);
if (output.code !== 0) {
return {
@@ -116,7 +116,7 @@ export class TypeScriptNativeCompiler extends BaseCompiler {
this.tscJit,
newOptions,
this.filename(inputFilename),
- execOptions
+ execOptions,
);
if (output.code !== 0) {
return [{text: 'Failed to run compiler to get IR code'}];