diff options
author | Patrick Quist <partouf@gmail.com> | 2022-02-17 16:50:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-17 16:50:02 +0100 |
commit | 0bc22bb1485fa6c7a3eee1129caade76f68662c3 (patch) | |
tree | 2a8cd2395fa885c8746d84f69577584a5122a639 /lib/compilers/pascal.js | |
parent | af08dc4d1a5f11fa65b8a858ac3dae3f6cd02d13 (diff) | |
download | compiler-explorer-0bc22bb1485fa6c7a3eee1129caade76f68662c3.tar.gz compiler-explorer-0bc22bb1485fa6c7a3eee1129caade76f68662c3.zip |
when no files are supplied, no need to do anything special for them either (#3371)gh-2017
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 f4abd54fe..2da67f83e 100644 --- a/lib/compilers/pascal.js +++ b/lib/compilers/pascal.js @@ -153,7 +153,7 @@ export class FPCCompiler extends BaseCompiler { await fs.writeFile(inputFilename, source); } - if (files) { + if (files && files.length > 0) { filters.dontMaskFilenames = true; await this.writeMultipleFiles(files, dirPath); |