aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers')
-rw-r--r--lib/compilers/ada.js4
-rw-r--r--lib/compilers/dotnet.ts6
-rw-r--r--lib/compilers/erlang.js2
-rw-r--r--lib/compilers/nim.js2
4 files changed, 7 insertions, 7 deletions
diff --git a/lib/compilers/ada.js b/lib/compilers/ada.js
index 936f173d9..83ec0294a 100644
--- a/lib/compilers/ada.js
+++ b/lib/compilers/ada.js
@@ -88,7 +88,7 @@ export class AdaCompiler extends BaseCompiler {
'-eS', // commands are not errors
'-cargs', // Compiler Switches for gcc.
'-o',
- outputFilename
+ outputFilename,
);
if (this.compiler.intelAsm && filters.intel) {
@@ -102,7 +102,7 @@ export class AdaCompiler extends BaseCompiler {
'make',
'-eS',
'-g',
- '-cargs' // Compiler Switches for gcc.
+ '-cargs', // Compiler Switches for gcc.
);
}
diff --git a/lib/compilers/dotnet.ts b/lib/compilers/dotnet.ts
index cd9ec8e86..53156962b 100644
--- a/lib/compilers/dotnet.ts
+++ b/lib/compilers/dotnet.ts
@@ -101,7 +101,7 @@ class DotNetCompiler extends BaseCompiler {
this.buildConfig,
this.targetFramework,
this.rID,
- 'publish'
+ 'publish',
);
const programDllPath = path.join(programPublishPath, 'CompilerExplorer.dll');
@@ -164,7 +164,7 @@ class DotNetCompiler extends BaseCompiler {
programPublishPath,
programDllPath,
crossgen2Options,
- this.getOutputFilename(programDir, this.outputFilebase)
+ this.getOutputFilename(programDir, this.outputFilebase),
);
if (crossgen2Result.code !== 0) {
@@ -203,7 +203,7 @@ class DotNetCompiler extends BaseCompiler {
await fs.writeFile(
outputPath,
- result.stdout.map(o => o.text).reduce((a, n) => `${a}\n${n}`)
+ result.stdout.map(o => o.text).reduce((a, n) => `${a}\n${n}`),
);
return result;
diff --git a/lib/compilers/erlang.js b/lib/compilers/erlang.js
index ef57b0d01..bef2dfbe9 100644
--- a/lib/compilers/erlang.js
+++ b/lib/compilers/erlang.js
@@ -80,7 +80,7 @@ export class ErlangCompiler extends BaseCompiler {
return this.execCompilerCached(
versionCmd,
['-noshell', '-eval', 'io:fwrite("~s~n", [erlang:system_info(otp_release)]), halt().'],
- execOptions
+ execOptions,
);
} catch (err) {
logger.error(`Unable to get version for compiler '${this.compiler.exe}' - ${err}`);
diff --git a/lib/compilers/nim.js b/lib/compilers/nim.js
index 215a1d1d7..21b582f9b 100644
--- a/lib/compilers/nim.js
+++ b/lib/compilers/nim.js
@@ -123,7 +123,7 @@ export class NimCompiler extends BaseCompiler {
libLinks,
userOptions,
[this.filename(inputFilename)],
- staticLibLinks
+ staticLibLinks,
);
}
}