Browse Source

fix: url e2e tests

Tienson Qin 1 year ago
parent
commit
4a3a164c99
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/electron/electron/handler.cljs

+ 1 - 3
src/electron/electron/handler.cljs

@@ -220,9 +220,7 @@
 
 (defn- get-db-based-graphs-dir
   []
-  (let [dir (if utils/ci?
-              (.resolve node-path js/__dirname "../tmp/graphs")
-              (.join node-path (.homedir os) "logseq" "graphs"))]
+  (let [dir (.join node-path (.homedir os) "logseq" "graphs")]
     (fs-extra/ensureDirSync dir)
     dir))