Skip to content

Commit

Permalink
remove choices
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido committed Dec 12, 2024
1 parent a61ce35 commit 5317f32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions conan/tools/microsoft/visual.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ def generate(self, scope="build"):
warn_tag="deprecated"
)
except ConanException:
is_ps1 = self._conanfile.conf.get("tools.env.virtualenv:powershell", check_type=str,
choices=["powershell", "pwsh"])
is_ps1 = self._conanfile.conf.get("tools.env.virtualenv:powershell", check_type=str)
if is_ps1:
content_ps1 = textwrap.dedent(rf"""
if (-not $env:VSCMD_ARG_VCVARS_VER){{
Expand Down

0 comments on commit 5317f32

Please sign in to comment.