Skip to content

Commit

Permalink
use is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulkar committed Jul 30, 2024
1 parent 47aa33e commit 722bb76
Showing 1 changed file with 1 addition and 1 deletion.
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.is_empty() {
debug!(
"task hash env vars for {}:{}\n vars: {:?}",
task_id.package(),
Expand Down

0 comments on commit 722bb76

Please sign in to comment.