Skip to content

Commit

Permalink
Fixes Windows error message due to incorrect type comparison. (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandBordage committed Mar 16, 2024
1 parent b4026e7 commit 74c23ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poethepoet/task/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _handle_run(
f"Couldn't locate interpreter executable for {config_value!r} to run "
"shell task. "
)
if self._is_windows and config_value in ("posix", "bash"):
if self._is_windows and set(config_value).issubset({"posix", "bash"}):
message += "Installing Git Bash or using WSL should fix this."
else:
message += "Some dependencies may be missing from your system."
Expand Down

0 comments on commit 74c23ca

Please sign in to comment.