Skip to content

Commit

Permalink
Ensure bbin ls prints no namespace maps
Browse files Browse the repository at this point in the history
  • Loading branch information
eval committed Mar 24, 2023
1 parent 6c61002 commit 439a58a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bbin
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
(log/merge-config! {:min-level (if debug :debug :warn)}))

(defn pprint [x & _]
(pprint/pprint x))
(binding [*print-namespace-maps* false]
(pprint/pprint x)))

(defn upgrade-enabled? []
(some-> (System/getenv "BABASHKA_BBIN_FLAG_UPGRADE")
Expand Down
3 changes: 2 additions & 1 deletion src/babashka/bbin/util.clj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
(log/merge-config! {:min-level (if debug :debug :warn)}))

(defn pprint [x & _]
(pprint/pprint x))
(binding [*print-namespace-maps* false]
(pprint/pprint x)))

(defn upgrade-enabled? []
(some-> (System/getenv "BABASHKA_BBIN_FLAG_UPGRADE")
Expand Down

0 comments on commit 439a58a

Please sign in to comment.