mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
Sorted keys
This commit is contained in:
parent
d08780fc14
commit
929bc254fa
16 changed files with 145 additions and 36 deletions
|
|
@ -86,7 +86,8 @@ pub fn syncback_json_model<'sync>(
|
|||
Ok(SyncbackReturn {
|
||||
fs_snapshot: FsSnapshot::new().with_added_file(
|
||||
&snapshot.path,
|
||||
serde_json::to_vec_pretty(&model).context("failed to serialize new JSON Model")?,
|
||||
crate::json::to_vec_pretty_sorted(&model)
|
||||
.context("failed to serialize new JSON Model")?,
|
||||
),
|
||||
children: Vec::new(),
|
||||
removed_children: Vec::new(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue