Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
samcarswell committed Mar 10, 2024
1 parent ad7a3b3 commit 1ae362d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipenv/cli/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,8 @@ def shell(state, fancy=False, shell_args=None, anyway=False, quiet=False):
# Use fancy mode for Windows or pwsh on *nix.
if (
os.name == "nt"
or os.environ['PIPENV_SHELL'].split(os.path.sep)[-1] == 'pwsh'
or os.environ['SHELL'].split(os.path.sep)[-1] == 'pwsh'
or os.environ["PIPENV_SHELL"].split(os.path.sep)[-1] == "pwsh"
or os.environ["SHELL"].split(os.path.sep)[-1] == "pwsh"
):
fancy = True
do_shell(
Expand Down

0 comments on commit 1ae362d

Please sign in to comment.