Commit 1c87d46
Optimize lockfile check: only regenerate on failure
- Check lockfile first with uv lock --check (fast path)
- Only regenerate lockfile if check fails (to show diff)
- Provides helpful error message showing exact changes needed
- More efficient while still being informative
Co-authored-by: jacksonpradolima <7774063+jacksonpradolima@users.noreply.github.com>1 parent 6160047 commit 1c87d46
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 30 | | |
34 | 31 | | |
35 | | - | |
| 32 | + | |
36 | 33 | | |
37 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments