prettier JSON

This commit is contained in:
AJ ONeal 2017-03-22 09:47:13 -06:00
parent 3f2e11a41d
commit f078d479b0
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ var form = {
, println: function (rrs, ws, msg) {
if ('string' !== typeof msg) {
msg = JSON.stringify(msg);
msg = JSON.stringify(msg, null, 2);
}
return ws.write(msg + '\n');
}