mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
fix: resolve mypy type errors
This commit is contained in:
parent
eb430456c3
commit
97132bf8b5
1 changed files with 2 additions and 0 deletions
|
|
@ -198,6 +198,8 @@ def _detect_export_style(source_code: str, identifier: str) -> str | None:
|
|||
found_named = False
|
||||
|
||||
for match in _EXPORT_COMBINED_PATTERN.finditer(source_code):
|
||||
if match.lastgroup is None:
|
||||
continue
|
||||
matched_id = match.group(match.lastgroup)
|
||||
|
||||
if matched_id == identifier:
|
||||
|
|
|
|||
Loading…
Reference in a new issue