mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 16:15:21 +00:00
chore: update nbb scripts to be repl friendly
With https://github.com/babashka/nbb/issues/95 done, this allows all nbb script namespaces to required or used from a repl
This commit is contained in:
2
deps/db/script/create_graph.cljs
vendored
2
deps/db/script/create_graph.cljs
vendored
@@ -50,5 +50,5 @@
|
||||
(when (:validate options)
|
||||
(validate-db/validate-db @conn db-name {:group-errors true :closed-maps true :humanize true}))))
|
||||
|
||||
(when (= nbb/*file* (:file (meta #'-main)))
|
||||
(when (= nbb/*file* (nbb/invoked-file))
|
||||
(-main *command-line-args*))
|
||||
|
||||
Reference in New Issue
Block a user