Skip to content

Commit b9845d5

Browse files
jpsnoverdaxian-dbw
authored andcommitted
Add a new line to 'CommandNotFoundException' error string (PowerShell#4934)
We're here at PowerShell Unplugged at Ignite, and this error message could *really* use a new line!
1 parent e3a004c commit b9845d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/System.Management.Automation/resources/DiscoveryExceptions.resx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@
136136
<value>Cannot retrieve an instance of CommandDiscovery.</value>
137137
</data>
138138
<data name="CommandNotFoundException" xml:space="preserve">
139-
<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>
139+
<value>The term '{0}' is not recognized as the name of a cmdlet, function, script file, or operable program.
140+
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.</value>
140141
</data>
141142
<data name="CmdletNotFoundException" xml:space="preserve">
142143
<value>Argument '{0}' is not recognized as a cmdlet: {1}</value>

0 commit comments

Comments
 (0)