mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-19 23:11:20 +02:00
Use new Handlebars.Net.Helpers (#581)
This commit is contained in:
@@ -112,7 +112,7 @@ namespace WireMock.Transformers.Handlebars
|
||||
|
||||
private static JToken ReplaceSingleNode(ITransformerContext handlebarsContext, string stringValue, object model)
|
||||
{
|
||||
string transformedString = handlebarsContext.ParseAndRender(stringValue, model);
|
||||
string transformedString = handlebarsContext.ParseAndRender(stringValue, model) as string;
|
||||
|
||||
if (!string.Equals(stringValue, transformedString))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user