chore: remove TODO tags

This commit is contained in:
charlie
2022-11-06 16:16:01 +08:00
parent e213f2a7fd
commit 12c0e293fe

View File

@@ -52,10 +52,10 @@
(if (string/blank? graph-name)
(notification/show! "Illegal graph folder name.")
;; create graph directory under Logseq document folder
;; TODO: icloud sync
(when-let [root (if icloud-sync-on? (state/get-icloud-container-root-url)
(state/get-local-container-root-url))]
;; create graph directory under Logseq document folder (local/icloud)
(when-let [root (if icloud-sync-on?
(state/get-icloud-container-root-url)
(state/get-local-container-root-url))]
(-> (validate-graph-dirname root graph-name)
(p/then (fn [graph-path]
(-> (fs/mkdir! graph-path)