Use Powershell syntax for executable check

This commit is contained in:
ok-nick 2022-08-22 13:58:54 -04:00
parent 820eb00cd1
commit c168855a1a
No known key found for this signature in database
GPG key ID: A93D451DB4F2EB17

View file

@ -39,9 +39,9 @@ runs:
fi fi
shell: bash shell: bash
- name: verify executables in PATH on Powershell - name: Verify executables in PATH on Powershell
run: | run: |
if ! hash selene stylua rojo 2>/dev/null; then Get-Command "selene"
exit 1; Get-Command "stylua"
fi Get-Command "rojo"
shell: powershell shell: powershell