mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
Change name of task to indicate it can be used on either config.edn
This commit is contained in:
4
bb.edn
4
bb.edn
@@ -66,8 +66,8 @@
|
||||
dev:validate-plugins-edn
|
||||
logseq.tasks.malli/validate-plugins-edn
|
||||
|
||||
dev:validate-global-config-edn
|
||||
logseq.tasks.malli/validate-global-config-edn
|
||||
dev:validate-config-edn
|
||||
logseq.tasks.malli/validate-config-edn
|
||||
|
||||
dev:lint
|
||||
logseq.tasks.dev/lint
|
||||
|
||||
@@ -20,8 +20,9 @@
|
||||
(pprint/pprint errors))
|
||||
(println "Valid!")))
|
||||
|
||||
(defn validate-global-config-edn
|
||||
"Validate a global config.edn file"
|
||||
;; This fn should be split if the global and repo definitions diverge
|
||||
(defn validate-config-edn
|
||||
"Validate a global or repo config.edn file"
|
||||
[file]
|
||||
(if-let [errors (->> file
|
||||
slurp
|
||||
|
||||
Reference in New Issue
Block a user