fix(scripts): קישור "מקור" שבר על SCRIPTS.md בנתיב #285

Merged
chaim merged 1 commits from worktree-fix-scripts-source-link into main 2026-06-17 04:55:33 +00:00
Owner

הבאג

ב-/scripts, לחיצה על "מקור" הובילה ל-…/scripts/SCRIPTS.md/<name> (404). הסיבה: gitea_url מצביע על קובץ scripts/SCRIPTS.md, אבל הקוד הוסיף אחריו את שם-הסקריפט כאילו זו תיקייה.

התיקון

מסירים את שם-הקובץ האחרון מהבסיס (replace(/\/[^/]+$/, "")) לפני הוספת שם-הסקריפט → …/scripts/<name>. תיקון-לוגי בלבד (ללא שינוי ויזואלי).

בדיקה

tsc ✓ · eslint ✓ · smoke: …/scripts/SCRIPTS.md…/scripts/leak_guard.py ✓.

🤖 Generated with Claude Code

## הבאג ב-/scripts, לחיצה על "מקור" הובילה ל-`…/scripts/SCRIPTS.md/<name>` (404). הסיבה: `gitea_url` מצביע על **קובץ** `scripts/SCRIPTS.md`, אבל הקוד הוסיף אחריו את שם-הסקריפט כאילו זו תיקייה. ## התיקון מסירים את שם-הקובץ האחרון מהבסיס (`replace(/\/[^/]+$/, "")`) לפני הוספת שם-הסקריפט → `…/scripts/<name>`. תיקון-לוגי בלבד (ללא שינוי ויזואלי). ## בדיקה `tsc` ✓ · `eslint` ✓ · smoke: `…/scripts/SCRIPTS.md` → `…/scripts/leak_guard.py` ✓. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chaim added 1 commit 2026-06-17 04:55:26 +00:00
fix(scripts): קישור "מקור" שבר על SCRIPTS.md בנתיב
All checks were successful
G12 Leak-Guard / leak-guard (pull_request) Successful in 3s
Lint — undefined names / undefined-names (pull_request) Successful in 10s
2c328d6906
ה-gitea_url מצביע על קובץ scripts/SCRIPTS.md, אבל הקישור הפר-סקריפט הוסיף
אחריו את שם-הסקריפט → …/scripts/SCRIPTS.md/<name> (404 ב-Gitea). מתקן:
מסיר את שם-הקובץ האחרון מהבסיס לפני הוספת שם-הסקריפט, כך שהקישור מצביע
על …/scripts/<name>.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chaim merged commit fb6f284297 into main 2026-06-17 04:55:33 +00:00
chaim deleted branch worktree-fix-scripts-source-link 2026-06-17 04:55:33 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ezer-mishpati/legal-ai#285