mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-23 06:05:24 +00:00
Reintroduce instigating paths for snapshot middleware
This commit is contained in:
@@ -52,6 +52,7 @@ impl SnapshotMiddleware for SnapshotJsonModel {
|
||||
|
||||
let mut snapshot = instance.core.into_snapshot(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))
|
||||
|
||||
Reference in New Issue
Block a user