diff --git a/poethepoet/task/shell.py b/poethepoet/task/shell.py index 4feb1380..c93bf63e 100644 --- a/poethepoet/task/shell.py +++ b/poethepoet/task/shell.py @@ -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."