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

Add default value for inject_global_value rule with environment variable #126

Open
jeparlefrancais opened this issue Sep 11, 2023 · 0 comments

Comments

@jeparlefrancais
Copy link
Contributor

When using the inject_global_value rule with an environment variable that is not set, darklua emits a warning. To avoid that warning, there should be a property to set a default value. This property should only be usable when the environment variable is provided, otherwise it's a configuration error.

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

No branches or pull requests

1 participant