diff options
Diffstat (limited to 'src/md_generator.rs')
| -rw-r--r-- | src/md_generator.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/md_generator.rs b/src/md_generator.rs index 98ab22d..54b7cbb 100644 --- a/src/md_generator.rs +++ b/src/md_generator.rs @@ -41,10 +41,10 @@ pub fn generate_markdown_from_paths<R: Read, W: Write>( let path = Path::new(OsStr::from_bytes(segment)); let normalized_path = normalizer.normalize(path)?; - if !seen_paths.insert(normalized_path.relative.clone()) { + if !seen_paths.insert(normalized_path.clone()) { logger.warn(format!( "skipping duplicate file: {}", - display_path(&normalized_path.relative) + display_path(&normalized_path.root_relative) )); continue; } |
