Powershell - Passing arguments that contain quote characters#57
Merged
edumserrano merged 3 commits intomainfrom Jul 17, 2023
Merged
Powershell - Passing arguments that contain quote characters#57edumserrano merged 3 commits intomainfrom
edumserrano merged 3 commits intomainfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## main #57 +/- ##
=======================================
Coverage 91.22% 91.22%
=======================================
Files 27 27
Lines 262 262
Branches 23 23
=======================================
Hits 239 239
Misses 17 17
Partials 6 6 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This was referenced Jul 17, 2023
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
This fixes #56.
Solution
Update
Powershellused by the GitHub Docker action from version7.2.2to7.3.6.Root cause
The problem was because I use
Powershellas part of the GitHub Docker action to act as a middle man between the GitHub action and the underlyingdotnetapp which is responsible for parsing the GitHub issue form.Powershellinterpreting the quotes in the input argument for the GitHub issue form body which then caused the error. The fix would be around doing some quote escaping but thankfully the new version ofPowershell, since7.3, is already dealing with this out of the box.See Passing arguments that contain quote characters.