1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Pretty-print the .config.json file for ease of debug

This commit is contained in:
Nick O'Leary 2014-09-22 14:34:53 +01:00
parent 55c830b812
commit 8d54126127

View File

@ -221,7 +221,7 @@ var localfilesystem = {
return when.resolve({});
},
saveSettings: function(settings) {
return nodeFn.call(fs.writeFile,globalSettingsFile,JSON.stringify(settings),'utf8');
return nodeFn.call(fs.writeFile,globalSettingsFile,JSON.stringify(settings,null,1),'utf8');
},