fix: move a ref only on a hash found elsewhere

This commit is contained in:
Abdessamad Derraz committed 2026-10-06 09:24:49 +02:00
1 parent afdd38826c
commit d89b193780
2 files changed
+13 -2

No files matched your search

+2 -2
View File
@@ -1183,8 +1183,8 @@ def verify_at_pin(part: RefPart, pin_lines, tokens, hash_tokens=()) -> PartResul
{
index
for index, line in enumerate(pin_lines, 1)
for token in tokens
if token in line.lower()
for token in hash_tokens
if token.lower() in line.lower()
}
)
if not elsewhere: