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:
parent
55c830b812
commit
8d54126127
@ -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');
|
||||
},
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user