Skip to content

Commit 1432413

Browse files
github-actions[bot]mohammed ahmed
andcommitted
style: fix quote style in vitest_runner.py
Co-authored-by: mohammed ahmed <undefined@users.noreply.github.com>
1 parent bf15f44 commit 1432413

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

codeflash/languages/javascript/vitest_runner.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,12 @@ def _is_vitest_workspace(project_root: Path) -> bool:
176176
# - workspace: [ array config
177177
# - separate vitest.workspace.ts/js file
178178
import re
179+
179180
# Match defineWorkspace calls or workspace: property assignments
180181
workspace_pattern = re.compile(
181-
r'(?:^|[^a-zA-Z_])defineWorkspace\s*\(|' # defineWorkspace( function call
182-
r'(?:^|[^a-zA-Z_])workspace\s*:\s*\[', # workspace: [ array
183-
re.MULTILINE
182+
r"(?:^|[^a-zA-Z_])defineWorkspace\s*\(|" # defineWorkspace( function call
183+
r"(?:^|[^a-zA-Z_])workspace\s*:\s*\[", # workspace: [ array
184+
re.MULTILINE,
184185
)
185186
if workspace_pattern.search(content):
186187
return True

0 commit comments

Comments
 (0)