diff options
author | Partouf <partouf@gmail.com> | 2018-11-06 14:55:21 +0100 |
---|---|---|
committer | Partouf <partouf@gmail.com> | 2018-11-06 14:55:21 +0100 |
commit | 863d4b5cd501695054e5430d230ec3644d3c6e73 (patch) | |
tree | ca0dc09491cde276ca13313361e27e12aa48e26b /lib/compilers/pascal.js | |
parent | 2a6e10ccb5d281f1fb606a524d67a9044e119605 (diff) | |
download | compiler-explorer-863d4b5cd501695054e5430d230ec3644d3c6e73.tar.gz compiler-explorer-863d4b5cd501695054e5430d230ec3644d3c6e73.zip |
refactor
Diffstat (limited to 'lib/compilers/pascal.js')
-rw-r--r-- | lib/compilers/pascal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/pascal.js b/lib/compilers/pascal.js index 5af3bf8ef..02e1a4ea5 100644 --- a/lib/compilers/pascal.js +++ b/lib/compilers/pascal.js @@ -150,7 +150,7 @@ class FPCCompiler extends BaseCompiler { } execBinary(executable, result, maxSize) { - executable = path.join(path.dirname(executable), "prog"); + executable = this.getExecutableFilename(path.dirname(executable)); return super.execBinary(executable, result, maxSize); } |