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

ShellCalculation: Resolve escaped curly braces in arguments #102

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

sphuber
Copy link
Owner

@sphuber sphuber commented Sep 4, 2024

Fixes #101

Any argument that did not contain a placeholder would simply be appended as is, but this would cause escaped curly braces not to be resolved. The solution is to just call argument.format() in this case, letting the string formatter take care of resolving the escaped characters.

Any argument that did not contain a placeholder would simply be appended
as is, but this would cause escaped curly braces not to be resolved. The
solution is to just call `argument.format()` in this case, letting the
string formatter take care of resolving the escaped characters.
@sphuber sphuber force-pushed the fix/101/expand-escaped-curly-braces-in-arguments branch from 87e2f85 to 085efa5 Compare September 4, 2024 18:45
@bilke
Copy link
Contributor

bilke commented Sep 5, 2024

Thanks a lot for the fix! It works!

@sphuber sphuber merged commit 521a7ec into master Sep 5, 2024
11 checks passed
@sphuber sphuber deleted the fix/101/expand-escaped-curly-braces-in-arguments branch September 5, 2024 12:35
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

Successfully merging this pull request may close these issues.

Escaped curly braces in arguments are not resolved
2 participants