Skip to content

Commit

Permalink
fix: use glob defaults from workspace config
Browse files Browse the repository at this point in the history
  • Loading branch information
armed committed May 22, 2024
1 parent 53b1045 commit e4d153d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/k16/kmono/config.clj
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@
[:=> [:cat :string] schema/?Config]
[:=> [:cat :string :string] schema/?Config]]}
([]
(load-config "." "packages/*"))
(load-config "." nil))
([repo-root]
(load-config repo-root "packages/*"))
(load-config repo-root nil))
([repo-root glob]
(ansi/assert-err! repo-root "config dir is not specified")
(ansi/print-info "loading config...")
Expand Down
2 changes: 1 addition & 1 deletion src/k16/kmono/main.clj
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
:default "."]
["-g" "--glob GLOB"
"A glob describing where to search for packages, (default: 'packages/*')"
:default "packages/*"]
:default nil]
["-l" "--configure-lsp"
(str "Set repl specific `:project-specs` in `.lsp/config.edn`, "
"requires cp-file to be set (default: true)")
Expand Down

0 comments on commit e4d153d

Please sign in to comment.