joshjohanning / ado_workitems_to_github_issues

Migrate Azure DevOps work items to GitHub Issues
MIT License
19 stars 11 forks source link

Fix can't migrate title with double quotes #1

Closed williamfigtree closed 2 years ago

williamfigtree commented 2 years ago

This change escapes double quotes in the GitHub issue title argument.

This is a workaround for a quirk in PowerShell where CLI arguments expecting quotes are mangled. See https://github.com/cli/cli/issues/3425 and https://stackoverflow.com/questions/6714165/powershell-stripping-double-quotes-from-command-line-arguments.

joshjohanning commented 2 years ago

Fantastic, and interesting use case I had not thought of! 🎉