Fix autogenerated unit output in config.json
This commit is contained in:
parent
c07826e57f
commit
e802b61001
|
@ -270,7 +270,7 @@ fn split(args: SplitArgs) -> Result<()> {
|
|||
out_config.units.push(OutputUnit {
|
||||
object: out_path.clone(),
|
||||
name: unit.clone(),
|
||||
autogenerated: false,
|
||||
autogenerated: obj.is_unit_autogenerated(unit),
|
||||
});
|
||||
if let Some(parent) = out_path.parent() {
|
||||
DirBuilder::new().recursive(true).create(parent)?;
|
||||
|
|
Loading…
Reference in New Issue