ansible-test - Fix pslint powershell selection (#86593)

This was overlooked in https://github.com/ansible/ansible/pull/86238
pull/86596/head
Matt Clay 3 months ago committed by GitHub
parent a751010bea
commit 87265284fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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 = []

Loading…
Cancel
Save