Skip to content

Commit

Permalink
Fix #104: print repl-aliases in -Sdescribe
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Jun 14, 2023
1 parent 82adf0c commit e545680
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ DEPS_CLJ_TOOLS_VERSION=1.11.1.1165 bb clojure

[deps.clj](https://github.com/borkdude/deps.clj): a faithful port of the clojure CLI bash script to Clojure

## Unreleased

- [#104](https://github.com/borkdude/deps.clj/issues/104): print repl-aliases in -Sdescribe

## 1.11.1.1347

- Fix stale check for `.jar` files when `*dir*` is set
Expand Down
4 changes: 2 additions & 2 deletions src/borkdude/deps.clj
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ public class ClojureToolsDownloader {
(:main-aliases cli-opts)
(conj (str "-M" (:main-aliases cli-opts)))
(:repl-aliases cli-opts)
(conj (str "-A" (str/join "" (:repl-aliases cli-opts))))
(conj (str "-A" (str/join (:repl-aliases cli-opts))))
(:exec-aliases cli-opts)
(conj (str "-X" (:exec-aliases cli-opts)))
tool?
Expand Down Expand Up @@ -1010,7 +1010,7 @@ public class ClojureToolsDownloader {
[:force (boolean (:force cli-opts))]
[:repro (boolean (:repro cli-opts))]
[:main-aliases (str (:main-aliases cli-opts))]
[:all-aliases (str (:all-aliases cli-opts))]])
[:repl-aliases (str/join (:repl-aliases cli-opts))]])
tree? (*exit-fn* {:exit 0})
(:trace cli-opts)
(warn "Wrote trace.edn")
Expand Down

0 comments on commit e545680

Please sign in to comment.