From be1ae6f6f6b43cac896e35da476bdfc262681ec1 Mon Sep 17 00:00:00 2001 From: barsh Date: Tue, 15 Mar 2016 09:39:16 -0500 Subject: [PATCH] #5 incorrect placement of comma after null values --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0a5f41c..4302911 100644 --- a/index.js +++ b/index.js @@ -40,7 +40,7 @@ module.exports = function(doc) { return ''+obj+''; case 'null': - return 'null\n'; + return 'null'; case 'string': return '"'+escape(obj.replace(/\n/g, '\n'+indent))+'"';