Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasLYang committed May 10, 2024
1 parent 19a6a64 commit e32a3ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/turborepo-lib/src/run/watch.rs
Expand Up @@ -92,7 +92,7 @@ pub enum Error {
#[error("package change error")]
PackageChange(#[from] tonic::Status),
#[error("could not connect to UI thread")]
UISendError(String),
UISend(String),
}

impl WatchClient {
Expand Down Expand Up @@ -301,7 +301,7 @@ impl WatchClient {
let task_names = self.run.engine.tasks_with_command(&self.run.pkg_dep_graph);
sender
.update_tasks(task_names)
.map_err(|err| Error::UISendError(err.to_string()))?;
.map_err(|err| Error::UISend(err.to_string()))?;
}

if self.run.has_persistent_tasks() {
Expand Down
2 changes: 2 additions & 0 deletions crates/turborepo-lib/src/task_graph/visitor.rs
Expand Up @@ -331,6 +331,8 @@ impl<'a> Visitor<'a> {

/// Finishes visiting the tasks, creates the run summary, and either
/// prints, saves, or sends it to spaces.

#[allow(clippy::too_many_arguments)]
#[tracing::instrument(skip(
self,
packages,
Expand Down

0 comments on commit e32a3ad

Please sign in to comment.