toddams/RazorLight

Missing space in exception message

BryceBarbara opened this issue · 2 comments

throw new InvalidOperationException(nameof(IncludeFunc) + "is not set");

When compiled, it looks like:

throw new InvalidOperationException("IncludeFuncis not set");

It should be:

throw new InvalidOperationException(nameof(IncludeFunc) + " is not set"); 

ty. PR welcome

@BryceBarbara I already took care of this 5 days ago, see commit history.