Skip to content

Commit

Permalink
Add missing require for clojure.pprint
Browse files Browse the repository at this point in the history
  • Loading branch information
plexus committed Jul 24, 2024
1 parent 4258ac2 commit ac0239c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# Unreleased

## Added

## Fixed

## Changed
- Add missing require for `clojure.pprint`

# 0.16.68 (2024-07-17 / 3c1b328)

Expand Down
8 changes: 5 additions & 3 deletions src/lambdaisland/cli.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
(ns lambdaisland.cli
(:require [clojure.string :as str]
[clojure.set :as set]))
(:require
[clojure.string :as str]
[clojure.set :as set]
[clojure.pprint :as pprint]))

;; I've tried to be somewhat consistent with variable naming

Expand Down Expand Up @@ -529,7 +531,7 @@
(binding [*out* *err*]
(println "[FATAL]" (.getMessage e))
(if-let [d (ex-data e)]
(clojure.pprint/pprint d)))
(pprint/pprint d)))
(System/exit (:exit (ex-data e) 1)))))


Expand Down

0 comments on commit ac0239c

Please sign in to comment.