Skip to content

Commit

Permalink
Fixed contracts errors with many user defined contracts not readable …
Browse files Browse the repository at this point in the history
…(cherry picked from commit 19af5fc)
  • Loading branch information
TobiaszCudnik committed Mar 11, 2012
1 parent 9bbfeea commit 8b7eed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contracts.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ object = (objContract, options = {}, name) ->
propName + " : " + obj[propName].value?.cname
, this

"{" + props.join(", ") + "}"
"{\n " + props.join(",\n ") + "\n}"
else
name

Expand Down

0 comments on commit 8b7eed5

Please sign in to comment.