Skip to content

Commit 18c6d9c

Browse files
authored
Fixed typo in exception text. Added -verbose to launch.json (#190)
1 parent 28fd7b7 commit 18c6d9c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use IntelliSense to learn about possible attributes.
33
// Hover to view descriptions of existing attributes.
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5-
"version": "0.2.0",
5+
"version": "0.7.0",
66
"configurations": [
77
{
88
"name": ".NET Core Launch (console)",
@@ -14,7 +14,7 @@
1414
"-NoExit",
1515
"-NoProfile",
1616
"-Command",
17-
"Import-Module ${workspaceFolder}/module/Microsoft.PowerShell.ConsoleGuiTools"
17+
"Import-Module -verbose ${workspaceFolder}/module/Microsoft.PowerShell.ConsoleGuiTools"
1818
],
1919
"cwd": "${workspaceFolder}",
2020
"console": "integratedTerminal",

src/Microsoft.PowerShell.ConsoleGuiTools/OutConsoleGridviewCmdletCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ baseObject is PSReference ||
109109
baseObject is PSObject)
110110
{
111111
ErrorRecord error = new ErrorRecord(
112-
new FormatException("Invalid data type for Out-GridView"),
112+
new FormatException("Invalid data type for Out-ConsoleGridView"),
113113
DataNotQualifiedForGridView,
114114
ErrorCategory.InvalidType,
115115
null);

0 commit comments

Comments
 (0)