Open rost5000 opened 3 years ago
@rost5000 Thank you for your information.
It happens because the plugin depends on sh.
I'm going to remove this dependency.
@rost5000 Can you try adding sh in your PATH?
Because simply giving up sh -c
seems to be not a solution. See https://github.com/yoheimuta/protolint/pull/145#discussion_r559080215.
Ref:
I have a following proto file:
So I create a custom linter rule
custumrule/enumrule.go
:and
main.go
:I build project on windows and Linux subsystem by
go buil main.go
and try to run the command:protolint -plugin ./main.exe .
. However, I receivefailed client.Client(), err=exec: "sh": executable file not found in %PATH%