From 4dc03ee50f295ac2dd5d332a647286bfe6f5bb2d Mon Sep 17 00:00:00 2001 From: RoboPhred Date: Fri, 22 Apr 2016 19:33:06 -0700 Subject: [PATCH] Fix prettyJson not found error --- shared.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shared.js b/shared.js index 8625f09..04c20db 100644 --- a/shared.js +++ b/shared.js @@ -1,8 +1,9 @@ "use strict" -exports.prettyJson = function prettyJson(obj) { +function prettyJson(obj) { return JSON.stringify(obj, null, 2); } +exports.prettyJson = prettyJson; exports.fail = function fail(err) { if (err) {