Skip to content

Commit

Permalink
Don't fail if matcher-combinators is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
julienvincent committed Aug 28, 2024
1 parent 7c3719b commit 45e8a0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clojure/io/julienvincent/clojure_test/runner.clj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
remove-commas))

(defn- parse-diff [diff]
(when-let [mc (requiring-resolve 'matcher-combinators.config/disable-ansi-color!)]
(when-let [mc (try (requiring-resolve 'matcher-combinators.config/disable-ansi-color!)
(catch Exception _))]
(mc))

(cond
Expand Down

0 comments on commit 45e8a0a

Please sign in to comment.