Skip to content

Commit ed8fc9e

Browse files
committed
refactor: use lowercase activate.ps1 for all systems
1 parent d1ebd44 commit ed8fc9e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/poetry/console/commands/env/activate.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@ def _get_activate_command(self, env: Env) -> str:
4747
elif shell in ["csh", "tcsh"]:
4848
command, filename = "source", "activate.csh"
4949
elif shell in ["powershell", "pwsh"]:
50-
if WINDOWS:
51-
command, filename = ".", "Activate.ps1"
52-
else:
53-
command, filename = ".", "activate.ps1"
54-
50+
command, filename = ".", "activate.ps1"
5551
elif shell == "cmd":
5652
command, filename = ".", "activate.bat"
5753
else:

0 commit comments

Comments
 (0)