Skip to content

Commit

Permalink
it helps to emit well-formed JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
cemerick committed Jun 22, 2012
1 parent 829e66e commit 4883a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cemerick/drawbridge.clj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
:headers {"Content-Type" "application/json"}
:body (concat ["[\n"]
(->> (map json/generate-string response-seq)
(interpose "\n"))
(interpose ",\n"))
["\n]"])})

(def response-timeout-header "REPL-Response-Timeout")
Expand Down

0 comments on commit 4883a48

Please sign in to comment.