Skip to content

Commit

Permalink
Merge pull request #106 from xavi/master
Browse files Browse the repository at this point in the history
Should fix StackOverflow error when calling the deprecated `clear-errors`
  • Loading branch information
yogthos committed Sep 7, 2014
2 parents 6376f16 + 2c398ec commit ff51506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/noir/validation.clj
Expand Up @@ -122,7 +122,7 @@
(defn clear-errors
^{:doc "Original name for clear-errors!. Use that instead."
:deprecated "0.8.0"}
[] (clear-errors))
[] (clear-errors!))

(defn rule
"If the passed? condition is not met, add the error text to the given field:
Expand Down

0 comments on commit ff51506

Please sign in to comment.