Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gazelle should exit with an error code when encountering errors in a development repository #955

Closed
jayconrod opened this issue Oct 25, 2017 · 1 comment

Comments

@jayconrod
Copy link
Contributor

First raised on bazel-go-discuss by @hochhaus.

Gazelle is fairly error-tolerant because we use it in go_repository, and we need it to partially succeed when it runs into invalid code (this is especially a problem in testdata directories for tools that operate on Go code).

It doesn't make sense for Gazelle to be so tolerant when run manually in one's own project though. Ideally, Gazelle should accept a flag (which is only provided in go_repository) which would turn off exit codes for non-fatal errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant