Skip to content

Commit e2dc1c3

Browse files
committed
Make initial summary print aliases with namespace
They were printed without the namespace but the namespace can be used to indicate where the alias comes from and it is important to see in the summary. This patch fixes that by changing `name` to `str`. Before: ``` Aliases: dev, cider, zprint, local ``` After: ``` Aliases: :dev, :home/cider, :home/zprint, :mine/local ```
1 parent 3d0cabf commit e2dc1c3

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@
1717

1818
## Changed
1919

20+
- Make initial summary print aliases with namespace.
21+
22+
Before:
23+
```
24+
Aliases: dev, cider, zprint, local
25+
```
26+
After:
27+
```
28+
Aliases: :dev, :home/cider, :home/zprint, :mine/local
29+
```
30+
2031
# 0.42.182-alpha (2025-03-01 / 50cc172)
2132

2233
## Fixed

src/lambdaisland/launchpad.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@
473473
(str/join ", " (map (comp (partial ansi-fg :magenta) name key) opts))))
474474
(when (seq aliases)
475475
(println (ansi-fg :green "Aliases:")
476-
(str/join ", " (map (comp (partial ansi-fg :magenta) name) aliases)))))
476+
(str/join ", " (map (comp (partial ansi-fg :magenta) str) aliases)))))
477477
;; #_(apply println "Java flags: " (:java-args ctx))
478478
;; (println "\nMiddleware: " )
479479
;; (doseq [a (:middleware ctx)] (println "-" a))

0 commit comments

Comments
 (0)