fix: trim on nil

This commit is contained in:
Tienson Qin
2022-10-12 20:52:30 +08:00
parent 8b0f83d3ab
commit a8244a8e1b

View File

@@ -173,7 +173,7 @@
(:file-path config)
(let [path (:file-path config)
content (db/get-file path)]
content (or (db/get-file path) "")]
(when (and
(not (string/blank? value))
(not= (string/trim value) (string/trim content)))