Fix adding/removing files in folders that have init scripts

This commit is contained in:
Lucien Greathouse
2019-01-23 18:10:29 -08:00
parent d01e757d2f
commit b1ddfc3a49
2 changed files with 6 additions and 1 deletions

View File

@@ -94,6 +94,9 @@ impl RbxSession {
trace!("Snapshotting path {}", path_to_snapshot.display());
let path_metadata = self.metadata_per_path.get(&path_to_snapshot).unwrap();
trace!("Metadata for path: {:?}", path_metadata);
let instance_id = path_metadata.instance_id
.expect("Instance did not exist in tree");