From 8da5cca1ab3c14e1b52ffb9bf1f63019b9259344 Mon Sep 17 00:00:00 2001 From: LSTM-Kirigaya <1193466151@qq.com> Date: Wed, 8 Jan 2025 16:59:00 +0800 Subject: [PATCH] update --- project/property-schema.json | 3 +-- src/function/dide-netlist/worker.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/project/property-schema.json b/project/property-schema.json index 2a329ee..364c338 100644 --- a/project/property-schema.json +++ b/project/property-schema.json @@ -198,8 +198,7 @@ "xc7a35tftg256-1", "xc7a35tcsg324-1", "xc7z035ffg676-2", - "xc7z020clg484-1", - "hello-world" + "xc7z020clg484-1" ] } }, diff --git a/src/function/dide-netlist/worker.ts b/src/function/dide-netlist/worker.ts index df79686..90c6ddf 100644 --- a/src/function/dide-netlist/worker.ts +++ b/src/function/dide-netlist/worker.ts @@ -297,7 +297,7 @@ class Netlist { } const { wasi, fd } = wasiResult; - if (targetJson) { + if (targetJson && fs.existsSync(targetJson)) { fs.rmSync(targetJson); }