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
  • Loading branch information
TobiaszCudnik committed Mar 11, 2012
1 parent 6a9e706 commit 19af5fc
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 @@ -430,7 +430,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 19af5fc

Please sign in to comment.