Skip to content

Commit

Permalink
fix: Fix error-format options to unescape
Browse files Browse the repository at this point in the history
cf. #240
  • Loading branch information
liquidz committed Dec 2, 2023
1 parent 7e9af77 commit 87189e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/antq/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@

(defn -main
[& args]
(let [{:keys [options errors]} (cli/parse-opts args cli-options)]
(let [{:keys [options errors]} (cli/parse-opts args cli-options)
options (update options :error-format #(some-> %
(str/replace #"\\n" "\n")
(str/replace #"\\t" "\t")))]
(binding [log/*verbose* (:verbose options false)]
(main* options errors))))

0 comments on commit 87189e0

Please sign in to comment.