Skip to content

Commit a80c1a6

Browse files
committed
Fix formatting of error message
1 parent b08e74b commit a80c1a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PSReadLine/ConsoleKeyChordConverter.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ private static ConsoleKeyInfo ConvertOneSequence(string sequence)
137137
}
138138
else
139139
{
140-
throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, PSReadLineResources.InvalidModifier, token));
140+
throw new ArgumentException(
141+
String.Format(CultureInfo.CurrentCulture, PSReadLineResources.InvalidModifier, token, key));
141142
}
142143
}
143144
}

0 commit comments

Comments
 (0)