Merged in feature/pretty-print (pull request #2)
Добавил переносов строк и пробелов в сериализацию конфигурации на страницу
This commit is contained in:
commit
e52bf6ae3f
1 file changed
+1
-1
+1
-1
@@ -5,7 +5,7 @@ const registerPartialsWithExtensions = require('./utils/registerPartialsWithExte
|
||||
|
||||
function toJSON (obj) {
|
||||
if (typeof obj === 'object') {
|
||||
return JSON.stringify(obj)
|
||||
return JSON.stringify(obj, null, 4)
|
||||
}
|
||||
return obj
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user