aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers
diff options
context:
space:
mode:
authorpartouf <partouf@gmail.com>2022-09-23 19:00:09 +0200
committerpartouf <partouf@gmail.com>2022-09-23 19:00:09 +0200
commit66e2ecf6a4b5bf7443120dd7d26fa8ff482b1a6c (patch)
tree9fd4ae2991ab60ac7c5d4e9835c97adbbf8317ac /lib/compilers
parent82deb6037c32c8e23f37a33484ee1df9687de3f1 (diff)
downloadcompiler-explorer-66e2ecf6a4b5bf7443120dd7d26fa8ff482b1a6c.tar.gz
compiler-explorer-66e2ecf6a4b5bf7443120dd7d26fa8ff482b1a6c.zip
bugfix z88dk check for .tap filegh-4326
Diffstat (limited to 'lib/compilers')
-rw-r--r--lib/compilers/z88dk.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/z88dk.ts b/lib/compilers/z88dk.ts
index be2c43734..9ee34b309 100644
--- a/lib/compilers/z88dk.ts
+++ b/lib/compilers/z88dk.ts
@@ -149,7 +149,7 @@ export class z88dkCompiler extends BaseCompiler {
if (result.code === 0 && filters.binary) {
const tapeFilepath = path.join(result.dirPath, this.getTapefilename());
- if (await utils.fileExists(this.getTapefilename())) {
+ if (await utils.fileExists(tapeFilepath)) {
const file_buffer = await fs.readFile(tapeFilepath);
const binary_base64 = file_buffer.toString('base64');
result.speccytape = binary_base64;