From 2e773f9ba994f8f4e30bb994bb600696264def16 Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Sat, 8 Feb 2025 21:15:49 +1300 Subject: Fix displayed path when discovering libraries The path displayed for each discovered library was the path of the parent directory, not the path of the library file. --- src/source_unit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/source_unit.rs') diff --git a/src/source_unit.rs b/src/source_unit.rs index 5ca5faa..7ee6993 100644 --- a/src/source_unit.rs +++ b/src/source_unit.rs @@ -33,7 +33,7 @@ pub fn gather_from_path(path: &Path, extension: Option<&str>, parse: ParseFn) -> if let Ok(entries) = traverse_directory(entry.path) { for entry in entries { if let Ok(unit) = SourceUnit::from_path(&entry.path, extension, parse) { - info!("Found source file at {path:?}"); + info!("Found source file at {:?}", entry.path); source_units.push(unit); } } -- cgit v1.2.3-70-g09d2