Fix typo in sync.
This commit is contained in:
parent
33f7c8557c
commit
103af43f68
@ -223,7 +223,7 @@ impl ModuleResolver for FileModuleResolver {
|
||||
#[cfg(not(feature = "sync"))]
|
||||
self.cache.borrow_mut().insert(file_path, m.clone());
|
||||
#[cfg(feature = "sync")]
|
||||
self.cache.write().unwrap().insert(file_path, module);
|
||||
self.cache.write().unwrap().insert(file_path, m.clone());
|
||||
|
||||
Ok(m)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user