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

Parser for rebar.config.script does not recognise previously defined variables #577

Open
xurxodiz opened this issue Dec 27, 2023 · 0 comments

Comments

@xurxodiz
Copy link

Running elvis on a rebar.config.script such as:

Vsn = 3.
[{minimum_otp_vsn, Vsn}].

throws an unbound_var exception on Vsn. Changing the period to a comma works around it, though for long files with many preparations it can be clunky to chain so many sentences that could be kept separate (rebar allows for this).

Nevertheless, this also happens for the explicitly available variables CONFIG and SCRIPT provided by rebar3 itself. They are also cause of an unbound_var 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