Skip to content
Browse files

Fixed small bug in gluer.logic/check-gluer-files.

  • Loading branch information...
1 parent 4d92940 commit 58f78a46d623ee81cb7c9b50fea903a864237658 @aroemers committed Nov 1, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/gluer/logic.clj
View
5 src/gluer/logic.clj
@@ -238,5 +238,6 @@
files will be checked (even if other files have parse errors)."
[parsed-gluer-files adapter-library]
(let [{valid :succes failed :error} (group-by (comp ffirst :parsed) parsed-gluer-files)
- errors (map #(str (get-in % [:parsed :file-name]) ": " (get-in % [:parsed :error])) failed)]
- (check-valid-files valid adapter-library)))
+ parse-errors (map #(str (get-in % [:parsed :file-name]) ": " (get-in % [:parsed :error])) failed)]
+ (-> (check-valid-files valid adapter-library)
+ (update-in [:errors] concat parse-errors))))

0 comments on commit 58f78a4

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