Commit dd4cafd
committed
fix: silent validation and graceful re-prompt on invalid directory
Changes:
- Removed validateRepositoryAccess() that was logging errors
- Now validates silently using checkWriteAccess + validateRepo directly
- When invalid, clears path and re-prompts WITHOUT logging errors
This fixes the infinite error log loop. Now when user selects an
invalid directory and clicks Run:
1. Validation happens silently
2. Path is cleared
3. Prompt appears cleanly (no error spam)
Much cleaner UX!1 parent 24cf515 commit dd4cafd
File tree
1 file changed
+8
-34
lines changed- src/renderer/features/task-detail/stores
1 file changed
+8
-34
lines changedLines changed: 8 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | 63 | | |
93 | 64 | | |
94 | 65 | | |
| |||
576 | 547 | | |
577 | 548 | | |
578 | 549 | | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
583 | 556 | | |
584 | | - | |
| 557 | + | |
585 | 558 | | |
| 559 | + | |
586 | 560 | | |
587 | 561 | | |
588 | 562 | | |
| |||
0 commit comments