♻️ 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]
(if-let [content (get shape :bool-content)]
(-> shape
(assoc :content content)
(assoc :path-data content)
(dissoc :bool-content))
shape))

View File

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