Skip to content

Commit 7413180

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 ed277cb commit 7413180

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

Diff for: CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@
66

77
## Changed
88

9+
- Make initial summary print aliases with namespace.
10+
11+
Before:
12+
```
13+
Aliases: dev, cider, zprint, local
14+
```
15+
After:
16+
```
17+
Aliases: :dev, :home/cider, :home/zprint, :mine/local
18+
```
19+
920
# 0.42.182-alpha (2025-03-01 / 50cc172)
1021

1122
## Fixed

Diff for: src/lambdaisland/launchpad.clj

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

0 commit comments

Comments
 (0)