mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
Fix adding/removing files in folders that have init scripts
This commit is contained in:
parent
d01e757d2f
commit
b1ddfc3a49
2 changed files with 6 additions and 1 deletions
|
|
@ -205,12 +205,14 @@ fn snapshot_imfs_directory<'source>(
|
|||
properties: HashMap::new(),
|
||||
children: Vec::new(),
|
||||
metadata: MetadataPerInstance {
|
||||
source_path: Some(directory.path.to_owned()),
|
||||
source_path: None,
|
||||
ignore_unknown_instances: false,
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
snapshot.metadata.source_path = Some(directory.path.to_owned());
|
||||
|
||||
for child_path in &directory.children {
|
||||
let child_name = child_path
|
||||
.file_name().expect("Couldn't extract file name")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue