xtask: Fix cargo fmt usage

This commit is contained in:
Jonas Platte 2021-04-22 00:50:55 +02:00
parent 28e68a4031
commit 8adab45200
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -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");