Skip to content

Commit 74c23ca

Browse files
Fixes Windows error message due to incorrect type comparison. (#205)
1 parent b4026e7 commit 74c23ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

poethepoet/task/shell.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def _handle_run(
4848
f"Couldn't locate interpreter executable for {config_value!r} to run "
4949
"shell task. "
5050
)
51-
if self._is_windows and config_value in ("posix", "bash"):
51+
if self._is_windows and set(config_value).issubset({"posix", "bash"}):
5252
message += "Installing Git Bash or using WSL should fix this."
5353
else:
5454
message += "Some dependencies may be missing from your system."

0 commit comments

Comments
 (0)