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

--diagnosis-as-error when using --workspace #184

Closed
alex-courtis opened this issue Sep 28, 2024 · 1 comment · Fixed by #185
Closed

--diagnosis-as-error when using --workspace #184

alex-courtis opened this issue Sep 28, 2024 · 1 comment · Fixed by #185

Comments

@alex-courtis
Copy link
Contributor

CodeFormat check --diagnosis-as-error -w ... does not exit -1 when a warning/error is found.

CodeFormat check --diagnosis-as-error -f foo.lua does exit -1

This always returns true:

bool LuaCheck::CheckWorkspace(const FormatContext &context) {

@alex-courtis
Copy link
Contributor Author

Use case: running check in CI

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

Successfully merging a pull request may close this issue.

1 participant