Skip to content

Commit

Permalink
win-select menu_packages too
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Dec 20, 2023
1 parent af74ec4 commit 7cd489b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion constructor/construct.py
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ def verify(info):
if key not in _EXTRA_ENVS_SCHEMA:
sys.exit(f"Key '{key}' not supported in 'extra_envs'.")
types = _EXTRA_ENVS_SCHEMA[key]
if value is not None and not isinstance(value, types):
if not isinstance(value, types):
types_str = " or ".join([type_.__name__ for type_ in types])
sys.exit(f"Value for 'extra_envs.{env_name}.{key}' "
f"must be an instance of {types_str}")
Expand Down
2 changes: 1 addition & 1 deletion examples/shortcuts/construct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ extra_envs:
specs:
- package_1
- console_shortcut # [win]
menu_packages:
menu_packages: # [win]
- console_shortcut # [win]

initialize_by_default: false
Expand Down

0 comments on commit 7cd489b

Please sign in to comment.