fixed spelling in Exception

This commit is contained in:
Nils Andresen 2021-10-29 23:47:42 +02:00 committed by Patrik Svensson
parent 949f35defd
commit 045d0922c8

View File

@ -122,7 +122,7 @@ namespace Spectre.Console
var promptItem = Tree.Find(item); var promptItem = Tree.Find(item);
if (promptItem == null) if (promptItem == null)
{ {
throw new ArgumentOutOfRangeException(nameof(item), "item not found in tree."); throw new ArgumentOutOfRangeException(nameof(item), "Item not found in tree.");
} }
var parents = new List<ListPromptItem<T>>(); var parents = new List<ListPromptItem<T>>();