♻️ Update backend for :path-data attribute

Update binfile cleaner and SREPL path_data proc to use :path-data
instead of :content for path and bool shapes.

Signed-off-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
Andrey Antukh 2026-03-30 10:53:48 +00:00
parent 2505367ae7
commit d0eeb8cb50
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
[shape] [shape]
(if-let [content (get shape :bool-content)] (if-let [content (get shape :bool-content)]
(-> shape (-> shape
(assoc :content content) (assoc :path-data content)
(dissoc :bool-content)) (dissoc :bool-content))
shape)) shape))

View File

@ -30,7 +30,7 @@
(fn [object] (fn [object]
(if (or (cfh/path-shape? object) (if (or (cfh/path-shape? object)
(cfh/bool-shape? object)) (cfh/bool-shape? object))
(update object :content vec) (update object :path-data vec)
object)) object))
update-container update-container