mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-03 18:14:11 +02:00
fix backtrace common prefix detection false positive
This commit is contained in:
parent
768c56c447
commit
ba88701f5e
1 changed files with 3 additions and 1 deletions
|
|
@ -160,7 +160,9 @@ fn find_path_prefix_length<'a, I: Iterator<Item = &'a str>>(paths: I) -> usize {
|
||||||
for path in paths {
|
for path in paths {
|
||||||
for pattern in patterns {
|
for pattern in patterns {
|
||||||
if let Some(offset) = path.find(pattern) {
|
if let Some(offset) = path.find(pattern) {
|
||||||
return offset + 1;
|
if !path.contains("files_external/3rdparty") {
|
||||||
|
return offset + 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue