Browse Source

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

Tienson Qin 2 years ago
parent
commit
c2befe6c00
1 changed files with 1 additions and 5 deletions
  1. 1 5
      src/main/frontend/fs/capacitor_fs.cljs

+ 1 - 5
src/main/frontend/fs/capacitor_fs.cljs

@@ -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]