🐛 Fix issue when typography name is empty.

This commit is contained in:
Andrey Antukh 2021-12-09 17:35:05 +01:00
parent eb1bcfba83
commit 7014bc7a3c
2 changed files with 6 additions and 6 deletions

View file

@ -436,7 +436,7 @@
[path-name]
(let [path-name-split (split-path path-name)
path (str/join " / " (butlast path-name-split))
name (last path-name-split)]
name (or (last path-name-split) "")]
[path name]))
(defn merge-path-item