Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Commit

Permalink
Suppress printing metadata for unknown types
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro committed Jun 21, 2017
1 parent 9a66788 commit 014b537
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ size before it was created.
- Don't print `doc` for macros that are not referred ([#153](https://github.com/anmonteiro/lumo/issues/153)).
- Correctly set __dirname and __filename when running script file ([#185](https://github.com/anmonteiro/lumo/issues/185)).
- Also Crawl `deps.cljs` files in dirs ([#184](https://github.com/anmonteiro/lumo/issues/184)).
- Suppress printing metadata for unknown types ([#189](https://github.com/anmonteiro/lumo/issues/189)).

## [1.5.0](https://github.com/anmonteiro/lumo/compare/1.4.1...1.5.0) (2017-05-13)

Expand Down
3 changes: 2 additions & 1 deletion src/cljs/snapshot/lumo/pprint/data.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
(visit-unknown [this x]
(if (instance? Eduction x)
(visit this (sequence x))
[:text (pr-str x)]))
[:text (binding [*print-meta* false]
(pr-str x))]))

(visit-nil [this]
(wrap-theme :results-font theme "nil"))
Expand Down

0 comments on commit 014b537

Please sign in to comment.