-
Notifications
You must be signed in to change notification settings - Fork 86
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
[Bug] Variable inside a single apix string #182
Comments
Looking at the issues with Shellcheck we have issues with variables that aren't wrapped with
|
It seems a bit wrong since this would modify bash commands under the hood. The Bash that is written by user should verbatim be the same. Instead - this could be solved with the ORM you mentioned in another issue. |
It is something that is language design, like the user can do whatever you want but if you use the std exposed by Amber automatically write Bash that is valid for shellcheck. |
@Mte90 I've read this issue one more time and I take back what I said previously. This is a good issue. We should make the variables to be interpolated correctly even if they are in the verbatim string. |
Taking this example:
Generate this bash script:
But inside a single apix string the variable doesn't get substituted, so Amber should report an error or compile it with double apix.
The text was updated successfully, but these errors were encountered: