Skip to content

fix: Add test for wrapping init script with single quotes #2979

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

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

kylecarbs
Copy link
Member

@kylecarbs kylecarbs commented Jul 13, 2022

This ensures our initialization script works with single quotes.

This ensures our initialization script works with single  uotes.
@kylecarbs kylecarbs requested a review from johnstcn July 13, 2022 21:35
@kylecarbs kylecarbs self-assigned this Jul 13, 2022
@kylecarbs kylecarbs merged commit 8e17254 into main Jul 13, 2022
@kylecarbs kylecarbs deleted the singlequotes branch July 13, 2022 22:43
@@ -1,6 +1,6 @@
# Sleep for a while in case the underlying provider deletes the resource on error.
trap {
Write-Error '=== Agent script exited with non-zero code. Sleeping 24h to preserve logs...'
Write-Error "=== Agent script exited with non-zero code. Sleeping 24h to preserve logs..."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious how folks would be using sh -c on Windows, but I suppose it's good to remain consistent 👍

@johnstcn
Copy link
Member

👍 Thanks Kyle!

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.

3 participants