Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Remove source.shell#string to fix #44 $(error ...) constructs #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

msikma
Copy link

@msikma msikma commented Jul 5, 2017

Description of the Change

Removes source.shell#variable from the inner content of $(error ..) etc. constricts. This fixes #44. As far as I can tell there are no regressions in my own files.

Benefits

Basically, $(error ..) etc. syntax was being messed up by the presence of quotes or apostrophes, as seen in the screenshot in the issue. We don't need to have any special consideration for quotes or apostrophes because they are included verbatim in the output, no need to escape them.

Possible Drawbacks

There could be regressions, or cases I haven't considered, but everything seems to work fine.

Applicable Issues

This fixes #44.

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

Successfully merging this pull request may close these issues.

Apostrophe in $(error), etc. not recognized
2 participants