diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-03-11 23:48:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 23:48:00 -0400 |
commit | ad6b00a2bf061a90c72737d0ecc4a58bb0a89550 (patch) | |
tree | daf342fa1d0dcde202a116ac010f310ba4321fa9 /cli/tools/lint | |
parent | c38c14f51f2edc8d25f349de52fc1268b97b59b2 (diff) |
chore: enable clippy unused_async rule (#22834)
Diffstat (limited to 'cli/tools/lint')
-rw-r--r-- | cli/tools/lint/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/lint/mod.rs b/cli/tools/lint/mod.rs index 1b81fca5a..251efd941 100644 --- a/cli/tools/lint/mod.rs +++ b/cli/tools/lint/mod.rs @@ -74,7 +74,7 @@ pub async fn lint(flags: Flags, lint_flags: LintFlags) -> Result<(), AnyError> { move |flags, watcher_communicator, changed_paths| { let lint_flags = lint_flags.clone(); Ok(async move { - let factory = CliFactory::from_flags(flags).await?; + let factory = CliFactory::from_flags(flags)?; let cli_options = factory.cli_options(); let lint_options = cli_options.resolve_lint_options(lint_flags)?; let files = collect_lint_files(lint_options.files.clone()).and_then( @@ -110,7 +110,7 @@ pub async fn lint(flags: Flags, lint_flags: LintFlags) -> Result<(), AnyError> { ) .await?; } else { - let factory = CliFactory::from_flags(flags).await?; + let factory = CliFactory::from_flags(flags)?; let cli_options = factory.cli_options(); let is_stdin = lint_flags.is_stdin(); let lint_options = cli_options.resolve_lint_options(lint_flags)?; |