mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 19:36:35 +00:00
fix: CI tests and lint warnings
This commit is contained in:
@@ -263,4 +263,6 @@
|
||||
(defn link?
|
||||
[format link]
|
||||
(when (string? link)
|
||||
(= "Link" (ffirst (inline->edn link (default-config format))))))
|
||||
(let [[type link] (first (inline->edn link (default-config format)))]
|
||||
(and (= "Link" type)
|
||||
(not (contains? #{"Page_ref" "Block_ref"} (first (:url link))))))))
|
||||
|
||||
Reference in New Issue
Block a user