fix(context): append 'main' to module_part for handler module path (#4776)

This commit is contained in:
Soulter
2026-01-31 22:26:50 +08:00
committed by GitHub
parent b2c6471ab0
commit e8be624794
+1
View File
@@ -463,6 +463,7 @@ class Context:
_parts.append(part)
if part in flags and i + 1 < len(module_part):
_parts.append(module_part[i + 1])
module_part.append("main")
break
tool.handler_module_path = ".".join(_parts)
module_path = tool.handler_module_path