Skip to content
Browse files

*root-dir* name implies its dynamic but its not.

  • Loading branch information...
1 parent 0795193 commit 1d49adfe3970cb367334c80b3e3cb53ddfeb6aee @josephwilk josephwilk committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/clj_exceptional.clj
View
4 src/clj_exceptional.clj
@@ -5,7 +5,7 @@
(:import [java.text SimpleDateFormat])
(:refer-clojure :exclude [try]))
-(def *root-dir* (.getAbsolutePath (java.io.File. "")))
+(def absolute-root-dir (.getAbsolutePath (java.io.File. "")))
(def date-format "yyyy-MM-dd'T'HH:mm:ssZZZZ")
(def date-formatter (SimpleDateFormat. date-format))
(def _api-key (atom ""))
@@ -107,7 +107,7 @@
(message (.getMessage e))
(occured (now-iso)))
(appenv
- (root-dir *root-dir*)
+ (root-dir absolute-root-dir)
(env java-env)
(language @_language)
(language-version @_language-version))

0 comments on commit 1d49adf

Please sign in to comment.
Something went wrong with that request. Please try again.