mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 03:16:37 +00:00
fix: error while backup global config under windows
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
(string/trim (or (state/get-default-journal-template) "")))
|
||||
(= (string/trim content) "-")
|
||||
(= (string/trim content) "*")))
|
||||
(handle-add-and-change! repo path content db-content mtime true))
|
||||
(handle-add-and-change! repo path content db-content mtime (not global-dir))) ;; no backup for global dir
|
||||
|
||||
(and (= "unlink" type)
|
||||
(db/file-exists? repo path))
|
||||
|
||||
Reference in New Issue
Block a user