xtask: Fix cargo fmt usage
This commit is contained in:
parent
28e68a4031
commit
8adab45200
@ -91,7 +91,7 @@ impl CiTask {
|
||||
|
||||
fn build_nightly(&self) -> xshell::Result<()> {
|
||||
let mut r = Vec::new();
|
||||
r.push(cmd!("rustup run nightly cargo fmt --all").run());
|
||||
r.push(cmd!("rustup run nightly cargo fmt -- --check").run());
|
||||
|
||||
{
|
||||
let _p = pushd("ruma");
|
||||
|
Loading…
x
Reference in New Issue
Block a user