ray-project / kuberay

A toolkit to run Ray applications on Kubernetes
Apache License 2.0
974 stars 330 forks source link

[Fix][precommit] Fix pre-commit golangci-lint always succeed #2140

Closed MortalHappiness closed 1 month ago

MortalHappiness commented 1 month ago

Why are these changes needed?

Because the last command is cd .., the golangci-lint command will always succeed. Change it to remember the status of golangci-lint and then exit with that status code.

Related issue number

N/A

Checks