8000 Add a CR to CommandNotFoundException error string by jpsnover · Pull Request #4934 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content

Add a CR to CommandNotFoundException error string #4934

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
Sep 29, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@
<value>Cannot retrieve an instance of CommandDiscovery.</value>
</data>
<data name="CommandNotFoundException" xml:space="preserve">
<value>The term '{0}' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.</value>
<value>The term '{0}' is not recognized as the name of a cmdlet, function, script file, or operable program.
Copy link
Member

Choose a reason for hiding this comment

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

Formatting should be handled by FormatAndOutput. String messages should not contain newlines.

Copy link
Member

Choose a reason for hiding this comment

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

Perhaps adding new newlines is something we should consider for other strings as it can improve readability.

Check the spelling of the name, or if a path was included, verify that the path is correct and try again.</value>
</data>
<data name="CmdletNotFoundException" xml:space="preserve">
<value>Argument '{0}' is not recognized as a cmdlet: {1}</value>
Expand Down
0