node modules symlink to avoid reinstallation of npm package#1883
node modules symlink to avoid reinstallation of npm package#1883
Conversation
|
Claude finished @Saga4's task in 3m 39s —— View job PR Review Summary
Prek Checks
Code ReviewDesign: The common-ancestor / def _maybe_add_dir_flag(cmd: list[str], project_root: Path | None, test_files: list[Path]) -> None:
if project_root and test_files:
resolved_root = project_root.resolve()
test_dirs = {f.resolve().parent for f in test_files}
if any(not d.is_relative_to(resolved_root) for d in test_dirs):
all_paths = [str(resolved_root)] + [str(d) for d in test_dirs]
common_ancestor = Path(os.path.commonpath(all_paths))
cmd.append(f"--dir={common_ancestor}")
logger.debug(f"Test files outside project root, using --dir={common_ancestor}")Design:
Correctness: The new block ( Correctness: Vitest accepts explicit file paths as positional args ( No bugs or security issues found. Duplicate Detection
Test CoverageNo tests added for the monorepo walking logic or the Last updated: 2026-03-20T22:58:00Z |
No description provided.