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

Use multiline quotes in Powershell to simplify generated code #679

Merged
merged 5 commits into from
Mar 2, 2023

Conversation

webholik
Copy link
Contributor

@webholik webholik commented Mar 2, 2023

Before:

$body = "{`n        `"hello`": `"Wirld`",`n        `"this`": [`n            `"that`",`n            `"`$when`",`n            `"as`"`n        ]`n    }"

After:

$body = @"
{
        `"hello`": `"Wirld`",
        `"this`": [
            `"that`",
            `"`$when`",
            `"as`"
        ]
    }
"@

@webholik webholik merged commit b0174f9 into develop Mar 2, 2023
@dhwaneetbhatt dhwaneetbhatt deleted the feature/powershell-quotes branch March 16, 2023 06:46
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.

2 participants