Răsfoiți Sursa

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

Tienson Qin 2 ani în urmă
părinte
comite
c2befe6c00
1 a modificat fișierele cu 1 adăugiri și 5 ștergeri
  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))
         (str prefix "///private/" others))
 
 
       :else
       :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))
     path))
 
 
 (defn normalize-file-protocol-path [dir path]
 (defn normalize-file-protocol-path [dir path]