We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1ebd44 commit ed8fc9eCopy full SHA for ed8fc9e
src/poetry/console/commands/env/activate.py
@@ -47,11 +47,7 @@ def _get_activate_command(self, env: Env) -> str:
47
elif shell in ["csh", "tcsh"]:
48
command, filename = "source", "activate.csh"
49
elif shell in ["powershell", "pwsh"]:
50
- if WINDOWS:
51
- command, filename = ".", "Activate.ps1"
52
- else:
53
- command, filename = ".", "activate.ps1"
54
-
+ command, filename = ".", "activate.ps1"
55
elif shell == "cmd":
56
command, filename = ".", "activate.bat"
57
else:
0 commit comments