mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-26 10:18:26 +02:00
Upgrade to Handlebars.Net.Helpers 2.4.9 (#1241)
* Upgrade to Handlebars.Net.Helpers 2.4.9 * uses: actions/setup-dotnet@v4
This commit is contained in:
@@ -22,7 +22,9 @@ internal class FileHelpers : BaseHelpers, IHelpers
|
||||
public string Read(Context context, string path)
|
||||
{
|
||||
var templateFunc = Context.Compile(path);
|
||||
string transformed = templateFunc(context.Value);
|
||||
var transformed = templateFunc(context.Value);
|
||||
return _fileSystemHandler.ReadResponseBodyAsString(transformed);
|
||||
}
|
||||
|
||||
public Category Category => Category.Custom;
|
||||
}
|
||||
Reference in New Issue
Block a user