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:
Stef Heyenrath
2025-01-21 22:10:19 +01:00
committed by GitHub
parent 6aa1594d31
commit 6688a64d49
3 changed files with 15 additions and 8 deletions

View File

@@ -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;
}