mirror of
https://github.com/ansible/ansible.git
synced 2026-07-28 16:15:12 +02:00
ansible-test - Fix pslint powershell selection (#86593)
This was overlooked in https://github.com/ansible/ansible/pull/86238
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user