Fix version logging on exporter.

This commit is contained in:
Andrey Antukh 2022-01-20 14:27:03 +01:00
parent f7568f6348
commit 8caa289586
2 changed files with 9 additions and 7 deletions

View file

@ -71,9 +71,7 @@
(atom (prepare-config)))
(def version
(atom (v/parse (or (some-> (ex/ignoring (fs/readFileSync "version.txt"))
(str/trim))
"%version%"))))
(atom (v/parse "%version%")))
(defn get
"A configuration getter."