Commit 9ec8286
authored
[ls] return unresolved packages as a warning instead of an error (#2511)
## Summary
Fixes #2510
Previously, `devbox ls --outdated` would error on packages that it could
not resolve, like `stdenv.cc.cc.lib` or
`darwin.apple_sdk.frameworks.IOKit`. This prevented devbox from checking
if the rest of the packages were outdated.
This PR changes the error to a warning, so the rest of the version
checks can proceed
## How was it tested?
1. Create a devbox.json
2. Add standard packages using `devbox add`
3. Add `stdenv.cc.cc.lib` or `darwin.apple_sdk.frameworks.IOKit` to the
project
4. Verify that `devbox ls --outdated` shows a warning for the
non-versioned packages instead of an error.1 parent 0e154db commit 9ec8286
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | | - | |
| 65 | + | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
| |||
0 commit comments