-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Feature] Enable the --no-warn-error
CLI flag
#10993
Comments
Thanks for opening this @mroy-seedbox ! You're right that dbt doesn't currently support It looks to me like we could easily support it though by updating this line to be this instead: "--warn-error/--no-warn-error", What scenarios were you wanting to use the |
--no-warn-error
flag does not work--no-warn-error
CLI flag
The scenario was a project with We ended up using |
## What are you changing in this pull request and why? There is no `--no-warn-error` CLI flag, so we should remove it from the documentation. See dbt-labs/dbt-core#10993 for context. ## Checklist - [x] I have reviewed the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md) so my content adheres to these guidelines. <!-- vercel-deployment-preview --> --- 🚀 Deployment available! Here are the direct links to the updated files: - https://docs-getdbt-com-git-dbeatty10-patch-2-dbt-labs.vercel.app/reference/global-configs/about-global-configs <!-- end-vercel-deployment-preview --> Co-authored-by: Matt Shaver <[email protected]>
Is this a new bug in dbt-core?
Current Behavior
Error: No such option: --no-warn-error (Possible options: --no-write-json, --warn-error, --warn-error-options)
Even though it is documented:
Expected Behavior
It works.
Steps To Reproduce
dbt --no-warn-error ls
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
Any
Additional Context
No response
The text was updated successfully, but these errors were encountered: