fix(fs): image renaming op when resizing pdf hl area (#9122)

* fix(fs): image renaming op when resizing pdf hl area
Fix #9120
This commit is contained in:
Andelf
2023-04-20 15:15:32 +08:00
committed by GitHub
parent 67fe5dc5a7
commit 65eb6d3380
2 changed files with 8 additions and 5 deletions

View File

@@ -123,6 +123,7 @@
(protocol/read-file (get-fs dir) dir path options)))
(defn rename!
"Rename files, incoming relative path, converted to absolute path"
[repo old-path new-path]
(let [new-path (gp-util/path-normalize new-path)]
(cond