Skip to content

Commit 1a533ec

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 1a533ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)