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

Fix quoting of banner for global tool #2788

Merged
merged 3 commits into from
Jul 1, 2020

Conversation

rjmholt
Copy link
Contributor

@rjmholt rjmholt commented Jul 1, 2020

PR Summary

Fixes the way the startup banner is quoted so that it works with the pwsh dotnet global tool.

Fixes #2780

PR Checklist

Note: Tick the boxes below that apply to this pull request by putting an x between the square brackets.
Please mark anything not applicable to this PR NA.

  • PR has a meaningful title
  • Summarized changes
  • PR has tests
  • This PR is ready to merge and is not work in progress
    • If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready

@ghost ghost added Area-Startup Issue-Bug A bug to squash. labels Jul 1, 2020
@rjmholt rjmholt requested a review from TylerLeonhardt July 1, 2020 16:39
Comment on lines 15 to 16
# Force override of unimportant errors in the install script
exit 0
Copy link
Member

Choose a reason for hiding this comment

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

Already fixed this by having this step continueOnError. Please rebase from master

@TylerLeonhardt
Copy link
Member

Any idea why this fixed the issue?

@rjmholt
Copy link
Contributor Author

rjmholt commented Jul 1, 2020

Any idea why this fixed the issue?

Looks like it's an artefact of how the global tool starts perhaps. We deliberately single quote everything in the string, so it seemed like a logical thing to do. It seems to work now for me, where it previously did not with the error message reported in #2780

@TylerLeonhardt
Copy link
Member

So odd... Yeah I mean if it works, ship it...but I feel like there should be in issue in PS/PS for this if it's easy to repro

@rjmholt rjmholt merged commit f09572c into PowerShell:master Jul 1, 2020
@rjmholt rjmholt deleted the fix-dotnet-tool-startup branch July 1, 2020 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extension crashes with ParseError: The '<' operator is reserved for future use
2 participants