mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 13:21:38 +00:00
Reintroduce instigating paths for snapshot middleware
This commit is contained in:
parent
cb3211cf46
commit
98519da7d9
17 changed files with 36 additions and 10 deletions
|
|
@ -43,6 +43,7 @@ impl SnapshotMiddleware for SnapshotRbxlx {
|
|||
|
||||
let mut snapshot = InstanceSnapshot::from_tree(&temp_tree, root_id);
|
||||
snapshot.name = Cow::Owned(instance_name);
|
||||
snapshot.metadata.instigating_source = Some(entry.path().to_path_buf().into());
|
||||
snapshot.metadata.relevant_paths = vec![entry.path().to_path_buf()];
|
||||
|
||||
Ok(Some(snapshot))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue