Skip to content

Commit

Permalink
Fix rendering of exceptions when used from REPL
Browse files Browse the repository at this point in the history
  • Loading branch information
lread committed Dec 2, 2022
1 parent c59f502 commit 16f8527
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ A release with an intentional breaking changes is marked with:
== Unreleased

* https://github.com/clj-commons/etaoin/issues/503[#503]: Address Clojure interop issue introduced by new Thread/sleep signature in JDK 19
* https://github.com/clj-commons/etaoin/issues/513[#513]: Fix rendering of exception when used from REPL
* bumped Etaoin dependencies
* docs:
** https://github.com/clj-commons/etaoin/issues/447[#447]: Describe testing without a display in the link:doc/01-user-guide.adoc#headless-testing[user guide], including a new requirement for a windows manager when using a virtual display on Linux
Expand Down
4 changes: 3 additions & 1 deletion src/etaoin/impl/proc.clj → src/etaoin/impl/proc.cljc
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
(ns ^:no-doc etaoin.impl.proc
(:require
[babashka.fs :as fs]
[babashka.process :as p]
#?@(:bb [[babashka.process :as p]]
:clj [[babashka.process :as p]
[babashka.process.pprint]]) ;; to support exception rendering in REPL
[clojure.string :as str]))

(def windows? (str/starts-with? (System/getProperty "os.name") "Windows"))
Expand Down

0 comments on commit 16f8527

Please sign in to comment.