Skip to content

Powershell - Passing arguments that contain quote characters#57

Merged
edumserrano merged 3 commits intomainfrom
fix
Jul 17, 2023
Merged

Powershell - Passing arguments that contain quote characters#57
edumserrano merged 3 commits intomainfrom
fix

Conversation

@edumserrano
Copy link
Owner

@edumserrano edumserrano commented Jul 17, 2023

What

This fixes #56.

Solution

Update Powershell used by the GitHub Docker action from version 7.2.2 to 7.3.6.

Root cause

The problem was because I use Powershell as part of the GitHub Docker action to act as a middle man between the GitHub action and the underlying dotnet app which is responsible for parsing the GitHub issue form.

Powershell interpreting 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 of Powershell, since 7.3, is already dealing with this out of the box.

See Passing arguments that contain quote characters.

@codecov
Copy link

codecov bot commented Jul 17, 2023

Codecov Report

Merging #57 (eb729d5) into main (7310453) will not change coverage.
The diff coverage is n/a.

@@           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

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.

Action fails to parse form

1 participant