From 17a90f165e357422640d41aa3aeb2a4ac8ace0cd Mon Sep 17 00:00:00 2001 From: DallonF Date: Thu, 5 Jul 2012 13:45:31 -0700 Subject: [PATCH] Made app.dpd save as prettified JSON --- lib/config-loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config-loader.js b/lib/config-loader.js index 4016673..e5a0a95 100644 --- a/lib/config-loader.js +++ b/lib/config-loader.js @@ -38,7 +38,7 @@ module.exports.loadConfig = function(basepath, fn) { */ module.exports.saveConfig = function(resources, basepath, fn) { var resourcesPath = path.join(basepath, '/app.dpd') - , json = JSON.stringify(resources); + , json = JSON.stringify(resources, null, '\t'); fs.writeFile(resourcesPath, json, 'utf-8', function(err) { if (err) return fn(err);