From 87265284fac787f4fc07b4e67103f6b418c14eda Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 24 Feb 2026 09:52:53 -0800 Subject: [PATCH] ansible-test - Fix pslint powershell selection (#86593) This was overlooked in https://github.com/ansible/ansible/pull/86238 --- test/lib/ansible_test/_internal/commands/sanity/pslint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/ansible_test/_internal/commands/sanity/pslint.py b/test/lib/ansible_test/_internal/commands/sanity/pslint.py index d7860eb5a4f..f0082b55e7c 100644 --- a/test/lib/ansible_test/_internal/commands/sanity/pslint.py +++ b/test/lib/ansible_test/_internal/commands/sanity/pslint.py @@ -66,7 +66,7 @@ class PslintTest(SanityVersionNeutral): paths = [target.path for target in targets.include] - if not find_executable('pwsh', required='warning'): + if not find_executable('pwsh', required='warning', path=env.get('PATH')): return SanitySkipped(self.name) cmds = []