Format JSON files.
Currently we store JSON as a single line in files. We should prettify it like we do the other formats.
This commit is contained in:
parent
1167f27939
commit
e45f531319
@ -4,6 +4,6 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
toFile(data) {
|
toFile(data) {
|
||||||
return JSON.stringify(data);
|
return JSON.stringify(data, null, 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user