jw3 / mock-srpm

A GitHub Action for building source RPMs using Mock
MIT License
0 stars 1 forks source link

Improve logging when mock not found #11

Open jw3 opened 9 months ago

jw3 commented 9 months ago

When mock is not found the logs show

Error: executable file mock not found in $PATH: No such file or directory: OCI runtime attempted to invoke a command that was not found

This is misleading since its not seen as an error to the action. Should redirect that output to null and print a message like

Mock was not found, it will be installed now