Fix autogenerated unit output in config.json

This commit is contained in:
Luke Street 2023-08-07 20:03:58 -04:00
parent c07826e57f
commit e802b61001
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ fn split(args: SplitArgs) -> Result<()> {
out_config.units.push(OutputUnit { out_config.units.push(OutputUnit {
object: out_path.clone(), object: out_path.clone(),
name: unit.clone(), name: unit.clone(),
autogenerated: false, autogenerated: obj.is_unit_autogenerated(unit),
}); });
if let Some(parent) = out_path.parent() { if let Some(parent) = out_path.parent() {
DirBuilder::new().recursive(true).create(parent)?; DirBuilder::new().recursive(true).create(parent)?;