From 000fa51c73b5e3488c1500326cfe505e9c5efcd1 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 1 Oct 2025 11:56:57 +0200 Subject: [PATCH] :bug: Fix zip handling on exporter --- exporter/package.json | 2 +- exporter/src/app/handlers/resources.cljs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exporter/package.json b/exporter/package.json index 7cb209e46b..776d48582a 100644 --- a/exporter/package.json +++ b/exporter/package.json @@ -28,7 +28,7 @@ "ws": "^8.18.3" }, "scripts": { - "clear:shadow-cache": "rm -rf .shadow-cljs", + "clear:shadow-cache": "rm -rf .shadow-cljs && rm -rf target", "watch:app": "clojure -M:dev:shadow-cljs watch main", "watch": "yarn run clear:shadow-cache && yarn run watch:app", "build:app": "clojure -M:dev:shadow-cljs release main", diff --git a/exporter/src/app/handlers/resources.cljs b/exporter/src/app/handlers/resources.cljs index 85fc174e56..8d78f861ae 100644 --- a/exporter/src/app/handlers/resources.cljs +++ b/exporter/src/app/handlers/resources.cljs @@ -7,9 +7,9 @@ (ns app.handlers.resources "Temporal resources management." (:require - ["archiver" :as arc] - ["fs" :as fs] - ["path" :as path] + ["archiver$default" :as arc] + ["node:fs" :as fs] + ["node:path" :as path] [app.common.exceptions :as ex] [app.common.uuid :as uuid] [app.util.mime :as mime]