fix: move import re to module level in vitest_runner.py

Co-authored-by: mohammed ahmed <undefined@users.noreply.github.com>
This commit is contained in:
claude[bot] 2026-04-03 20:57:19 +00:00
parent 790d0b7a68
commit 73c91f33cd

View file

@ -175,7 +175,6 @@ def _is_vitest_workspace(project_root: Path) -> bool:
# - defineWorkspace() function call
# - workspace: [ array config
# - separate vitest.workspace.ts/js file
import re
# Match defineWorkspace calls or workspace: property assignments
workspace_pattern = re.compile(