aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/pascal.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/pascal.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/pascal.ts')
-rw-r--r--lib/compilers/pascal.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compilers/pascal.ts b/lib/compilers/pascal.ts
index c31459486..2527ed019 100644
--- a/lib/compilers/pascal.ts
+++ b/lib/compilers/pascal.ts
@@ -115,7 +115,7 @@ export class FPCCompiler extends BaseCompiler {
demangle,
staticReloc: boolean,
dynamicReloc: boolean,
- filters: ParseFiltersAndOutputOptions
+ filters: ParseFiltersAndOutputOptions,
) {
const dirPath = path.dirname(outputFilename);
const execBinary = this.getExecutableFilename(dirPath);
@@ -152,7 +152,7 @@ export class FPCCompiler extends BaseCompiler {
'program prog;\n' +
'uses ' + unitName + ' in \'' + unitPath + '\';\n' +
'begin\n' +
- 'end.\n'
+ 'end.\n',
);
}
@@ -186,7 +186,7 @@ export class FPCCompiler extends BaseCompiler {
compiler: string,
options: string[],
inputFilename: string,
- execOptions: ExecutionOptions
+ execOptions: ExecutionOptions,
) {
if (!execOptions) {
execOptions = this.getDefaultExecOptions();