add '--skip-children' to rustfmt invocation

This commit is contained in:
Ralf Jung 2023-09-01 08:30:31 +02:00
parent a346b299d3
commit f28772f968

View File

@ -510,7 +510,7 @@ impl Command {
let mut cmd = cmd!( let mut cmd = cmd!(
e.sh, e.sh,
"rustfmt +{toolchain} --edition=2021 --config-path {config_path} {flags...}" "rustfmt +{toolchain} --edition=2021 --config-path {config_path} --unstable-features --skip-children {flags...}"
); );
eprintln!("$ {cmd} ..."); eprintln!("$ {cmd} ...");