Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: jaimergp <jaimergp@users.noreply.github.com>
  • Loading branch information
marcoesters and jaimergp committed Apr 23, 2024
1 parent 1de5f43 commit 1909ef0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion menuinst/_schema.py
Expand Up @@ -39,7 +39,7 @@ class BasePlatformSpecific(BaseModel):
name: Optional[
Union[
constr(min_length=1),
Dict[constr(regex=r"^target_environment_is(_not)?_base$"), constr(min_length=1)],
Dict[Literal["target_environment_is_base", "target_environment_is_not_base"], constr(min_length=1)],
]
] = None
"""
Expand Down
2 changes: 1 addition & 1 deletion news/180-support-different-names-outside-base
@@ -1,6 +1,6 @@
### Enhancements

* Support different name for shortcuts within and outside base environment (support v1 behavior)
* Support different name for shortcuts within and outside base environment (support v1 behavior). (#180)

### Bug fixes

Expand Down

0 comments on commit 1909ef0

Please sign in to comment.