Repair silly mistake that made only one input processed
This commit is contained in:
parent
64593436a8
commit
c527160e9d
|
@ -65,14 +65,14 @@ impl CompilerConfig {
|
|||
.to_str().ok_or_else(
|
||||
|| Error::new(ErrorKind::InvalidData, format!("Invalid UTF-8 in schema file name: {:?}", i)))?;
|
||||
self.bundle.insert(vec![prefix.to_owned()], s);
|
||||
return Ok(());
|
||||
continue;
|
||||
}
|
||||
|
||||
if let Ok(Bundle { modules }) = Bundle::try_from(&blob) {
|
||||
for (ModulePath(k), v) in modules.0 {
|
||||
self.bundle.insert(k, v);
|
||||
}
|
||||
return Ok(());
|
||||
continue;
|
||||
}
|
||||
|
||||
return Err(Error::new(ErrorKind::InvalidData,
|
||||
|
|
Loading…
Reference in New Issue