Commit 02d3fbf
committed
fix: make delete CLI path a --path option, clarify FTS guard comment
Reviewer feedback:
- path as a second positional arg was unreachable (Click assigns
left-to-right, so a path string would land in repo_id). Now --path/-p.
- Added comment explaining fts is always initialized in lifespan, so
the None guard is purely defensive.1 parent 527f7bc commit 02d3fbf
2 files changed
Lines changed: 4 additions & 2 deletions
File tree
- packages
- cli/src/repowise/cli/commands
- server/src/repowise/server/routers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| |||
0 commit comments