mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-22 21:55:15 +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:
committed by
Lucien Greathouse
parent
b58fed16b4
commit
0ff59ecb4e
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user