mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-03 18:38:21 +00:00
Error when --group includes non-existent groups (#8394)
## Summary Part of https://github.com/astral-sh/uv/pull/8272.
This commit is contained in:
parent
4d134a4ffe
commit
c7ccf88939
6 changed files with 96 additions and 0 deletions
|
@ -163,10 +163,12 @@ impl DevGroupsSpecification {
|
|||
(self.dev.is_none() || self.dev.as_ref().is_some_and(DevMode::prod)) && self.groups.prod()
|
||||
}
|
||||
|
||||
/// Returns the flag that was used to request development dependencies.
|
||||
pub fn dev_mode(&self) -> Option<&DevMode> {
|
||||
self.dev.as_ref()
|
||||
}
|
||||
|
||||
/// Returns the list of groups to include.
|
||||
pub fn groups(&self) -> &GroupsSpecification {
|
||||
&self.groups
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue