mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 12:12:50 +01:00
xtask: Fix cargo fmt logmsg
This commit is contained in:
parent
96aa385b55
commit
88b435c2f8
1 changed files with 2 additions and 2 deletions
|
@ -187,12 +187,12 @@ fn main() -> anyhow::Result<()> {
|
|||
|
||||
match cli.command {
|
||||
Commands::FormatCheck(args) => {
|
||||
info!("Running cargo fmt: {args:?}");
|
||||
info!("Running cargo fmt --check: {args:?}");
|
||||
let check_only = true;
|
||||
cargo_format(&cargologlevel, &args, check_only)?;
|
||||
}
|
||||
Commands::Format(args) => {
|
||||
info!("Running cargo fmt --check: {args:?}");
|
||||
info!("Running cargo fmt: {args:?}");
|
||||
let check_only = false;
|
||||
cargo_format(&cargologlevel, &args, check_only)?;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue