fix: remove false alarm of the event to force ios path

This commit is contained in:
Tienson Qin
2022-11-30 13:25:23 +08:00
committed by Andelf
parent 4bdfb59fb8
commit c2befe6c00

View File

@@ -228,11 +228,7 @@
(str prefix "///private/" others))
:else
(do
(state/pub-event! [:capture-error {:error (js/Error. "ios path missing slashes")
:payload {:type :error/ios-path-missing-slashes
:path (gp-util/safe-subs (str path) 12)}}])
path))
path)
path))
(defn normalize-file-protocol-path [dir path]