editor updates

This commit is contained in:
Henrique Dias committed 2015-09-15 19:26:18 +01:00
1 parent f931bb3ed0
commit e045d76bcd
8 files changed
+206 -98

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ func rawToPretty(config interface{}, master string, parent string) interface{} {
var stringsNames []string
for index, element := range config.(map[string]interface{}) {
if utils.IsMap(element) {
if utils.IsMap(element) || utils.IsSlice(element) {
mapsNames = append(mapsNames, index)
} else {
stringsNames = append(stringsNames, index)