Skip to content

Commit

Permalink
coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
radoering committed Oct 6, 2023
1 parent ac8a9f5 commit 7f1a065
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/poetry/utils/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,9 @@ def activate(self, env: VirtualEnv) -> int | None:
c.sendline(f"emulate bash -c '. {shlex.quote(str(activate_path))}'")
elif self._name == "xonsh":
c.sendline(f"vox activate {shlex.quote(str(env.path))}")

# if this is nu, we don't want to send the activation command to the
# command line since we already ran it via the shell's invocation
elif self._name == "nu":
# If this is nu, we don't want to send the activation command to the
# command line since we already ran it via the shell's invocation.
pass
else:
if self._name in ["fish"]:
Expand Down

0 comments on commit 7f1a065

Please sign in to comment.