mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
fix: typo
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
(not= (string/trim content) (string/trim db-content))
|
||||
(not (string/includes? path "logseq/pages-metadata.edn")))
|
||||
(let [backup? (not (string/blank? db-content))]
|
||||
(handle-add-or-changed! repo path content db-content mtime backup?))
|
||||
(handle-add-and-change! repo path content db-content mtime backup?))
|
||||
|
||||
(and (= "change" type)
|
||||
(not (db/file-exists? repo path)))
|
||||
@@ -65,7 +65,7 @@
|
||||
(string/trim (or (state/get-default-journal-template) "")))
|
||||
(= (string/trim content) "-")
|
||||
(= (string/trim content) "*")))
|
||||
(handle-add-or-changed! repo path content db-content mtime true))
|
||||
(handle-add-and-change! repo path content db-content mtime true))
|
||||
|
||||
(and (= "unlink" type)
|
||||
(db/file-exists? repo path))
|
||||
|
||||
Reference in New Issue
Block a user