-
Notifications
You must be signed in to change notification settings - Fork 352
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
[PowerShell] Simplify generated code by using here-strings #322
Comments
@umeshp7 That means that there would be no use of sanitize function, right? |
@umeshp7 PR opened. Please review. |
@umeshp7 I think the travis tests need to be updated. |
@karmanya007 This is the unit test inside Powershell. You might have to update that. |
This is fixed in the latest version v10.12. Closing this issue. Fixed as part of #679. |
Thanks, has been a long wait, but thanks for following through. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current implementation of the PowerShell generator requires a lot of escapes
``"
for each quote and linefeedthis makes the generated core hard to read and change and verify.
Describe the solution you'd like
get rid of the escapes by using a PowerShell here-strings
@" .... "@
I would preferer the double-quoted version as that will support variable replacement.
Proposed use of here-string:
Current use of many escapes:
The text was updated successfully, but these errors were encountered: