Skip to content

Commit 7986fc7

Browse files
committed
Rust: avoid double '.' in trap extension
1 parent 4df9cd8 commit 7986fc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/extractor/src/trap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ impl TrapFileProvider {
244244
}
245245

246246
pub fn create(&self, category: &str, key: &Path) -> TrapFile {
247-
let path = file_paths::path_for(&self.trap_dir.join(category), key, ".trap");
247+
let path = file_paths::path_for(&self.trap_dir.join(category), key, "trap");
248248
debug!("creating trap file {}", path.display());
249249
let mut writer = trap::Writer::new();
250250
extractor::populate_empty_location(&mut writer);

0 commit comments

Comments
 (0)