perf(fmt/lint): incremental formatting and linting (#14314)

This commit is contained in:
David Sherret 2022-04-19 22:14:00 -04:00 committed by GitHub
parent 803499886b
commit ae479b1036
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 645 additions and 49 deletions

View file

@ -908,7 +908,8 @@ async fn format_command(
return Ok(0);
}
tools::fmt::format(ps.flags.as_ref(), fmt_flags, maybe_fmt_config).await?;
tools::fmt::format(ps.flags.as_ref(), fmt_flags, maybe_fmt_config, &ps.dir)
.await?;
Ok(0)
}