Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulkar committed Jul 29, 2024
1 parent 88bf220 commit 47aa33e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions crates/turborepo-lib/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ use turbopath::AbsoluteSystemPathBuf;
use turborepo_api_client::AnonAPIClient;
use turborepo_repository::inference::{RepoMode, RepoState};
use turborepo_telemetry::{
events::{
command::{CodePath, CommandEventBuilder},
generic::GenericEventBuilder,
EventBuilder, EventType,
},
events::{command::CommandEventBuilder, generic::GenericEventBuilder, EventBuilder, EventType},
init_telemetry, track_usage, TelemetryHandle,
};
use turborepo_ui::{GREY, UI};
Expand Down
2 changes: 1 addition & 1 deletion crates/turborepo-lib/src/task_hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ impl<'a> TaskHasher<'a> {
let external_deps_hash =
is_monorepo.then(|| get_external_deps_hash(&workspace.transitive_dependencies));

if (hashable_env_pairs.len() > 0) {
if hashable_env_pairs.len() > 0 {

Check failure on line 369 in crates/turborepo-lib/src/task_hash.rs

View workflow job for this annotation

GitHub Actions / Turborepo rust clippy

length comparison to zero
debug!(
"task hash env vars for {}:{}\n vars: {:?}",
task_id.package(),
Expand Down

0 comments on commit 47aa33e

Please sign in to comment.