aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/pascal-win.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-win.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-win.ts')
-rw-r--r--lib/compilers/pascal-win.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compilers/pascal-win.ts b/lib/compilers/pascal-win.ts
index 9c500a099..9f67f5988 100644
--- a/lib/compilers/pascal-win.ts
+++ b/lib/compilers/pascal-win.ts
@@ -119,7 +119,7 @@ export class PascalWinCompiler extends BaseCompiler {
'program prog;\n' +
'uses ' + unitName + ' in \'' + unitPath + '\';\n' +
'begin\n' +
- 'end.\n'
+ 'end.\n',
);
}
@@ -151,7 +151,7 @@ export class PascalWinCompiler extends BaseCompiler {
compiler: string,
options: string[],
inputFilename: string,
- execOptions: ExecutionOptions
+ execOptions: ExecutionOptions,
) {
if (!execOptions) {
execOptions = this.getDefaultExecOptions();