From 3c6117ce9df6768e2cde0900e9191d9d269e023d Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 19 Nov 2025 13:51:32 +1100 Subject: [PATCH] tasks: Remove whitespace Some trailing whitespace from #26. Whitespace only so we don't need to actually use the commit hash of this (if it merges) in any repo. --- tasks/src/environment.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/src/environment.rs b/tasks/src/environment.rs index 1eb467c..4fe65d8 100644 --- a/tasks/src/environment.rs +++ b/tasks/src/environment.rs @@ -76,7 +76,7 @@ pub fn get_crate_dirs(sh: &Shell, packages: &[String]) -> Result, Bo // Extract directory path from the manifest path, // e.g., "/path/to/repo/releases/Cargo.toml" -> "/path/to/repo/releases". let dir_path = manifest_path.trim_end_matches("/Cargo.toml"); - + // Filter by package name if specified. if !packages.is_empty() { let package_name = package["name"].as_str()?; @@ -84,7 +84,7 @@ pub fn get_crate_dirs(sh: &Shell, packages: &[String]) -> Result, Bo return None; } } - + Some(dir_path.to_string()) }) .collect();