mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Fix issue w/ existing files not being updated in imfs (#119)
* Fix issue w/ existing files not being updated in imfs * Add a test for updating files
This commit is contained in:
parent
b58fed16b4
commit
0ff59ecb4e
2 changed files with 30 additions and 2 deletions
|
|
@ -208,7 +208,6 @@ impl Imfs {
|
|||
if self.items.contains_key(&next_path) {
|
||||
current_path = next_path;
|
||||
} else {
|
||||
self.read_from_disk(¤t_path)?;
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
|
@ -216,7 +215,7 @@ impl Imfs {
|
|||
}
|
||||
}
|
||||
|
||||
Ok(())
|
||||
self.read_from_disk(¤t_path)
|
||||
}
|
||||
|
||||
fn read_from_disk(&mut self, path: &Path) -> Result<(), FsError> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue