fix: url e2e tests

This commit is contained in:
Tienson Qin
2024-01-15 16:03:01 +08:00
parent af8478a6ec
commit 4a3a164c99

View File

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