Commit 6b160101 authored by Timon Stampfli's avatar Timon Stampfli
Browse files

fix: debugging doesn't delete binary before debugging anymore

parent beb80d2e
Pipeline #4888 failed with stages
in 31 seconds
...@@ -384,9 +384,9 @@ export class Runner { ...@@ -384,9 +384,9 @@ export class Runner {
}, extraconfig); }, extraconfig);
try { try {
await fs.unlink(await tasknameToBinaryName(taskname)); await fs.readFile(await tasknameToBinaryName(taskname));
} catch (err) { } catch (err) {
if (err.code !== "ENOENT") { if (err.code !== "EEXIST") {
throw err; throw err;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment