Permalink
Browse files
Fix typos in readme re: lein 2.x instructions.
- Loading branch information...
Showing
with
2 additions
and
2 deletions.
-
+2
−2
README.md
|
|
@@ -50,15 +50,15 @@ The library also offers an API for programatically 'parsing' exceptions. This AP |
|
|
|
|
|
If you use Leiningen, you can install clj-stacktrace on a per-user basis.
|
|
|
|
|
|
-For Leiningen 2.x, add the following to `~/.lein/profiles`:
|
|
|
+For Leiningen 2.x, add the following to `~/.lein/profiles.clj`:
|
|
|
|
|
|
```clj
|
|
|
{:user {:dependencies {clj-stacktrace "0.2.4"}
|
|
|
:injections [(let [orig (ns-resolve (doto 'clojure.stacktrace require)
|
|
|
'print-cause-trace)
|
|
|
new (ns-resolve (doto 'clj-stacktrace.repl require)
|
|
|
'pst)]
|
|
|
- (alter-var-root orig (constantly @new)))]
|
|
|
+ (alter-var-root orig (constantly @new)))]}}
|
|
|
```
|
|
|
|
|
|
For Leiningen 1.x:
|
|
|
|
0 comments on commit
060708f